Skip to content

Commit 8f2366d

Browse files
authored
Release 0.3.0a1 (#3)
* feat: add status endpoint for healthcheck and info (#2) * Increment Version to 0.3.0a1 * Update Changelog --------- Co-authored-by: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Co-authored-by: JarbasAl <JarbasAl@users.noreply.github.com>
2 parents dc5be31 + 5f19d2a commit 8f2366d

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
3+
## [0.3.0a1](https://github.com/OpenVoiceOS/ovos-persona-server/tree/0.3.0a1) (2025-03-05)
4+
5+
[Full Changelog](https://github.com/OpenVoiceOS/ovos-persona-server/compare/0.2.1...0.3.0a1)
6+
7+
**Merged pull requests:**
8+
9+
- feat: add status endpoint for healthcheck and info [\#2](https://github.com/OpenVoiceOS/ovos-persona-server/pull/2) ([JarbasAl](https://github.com/JarbasAl))
10+
11+
12+
13+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

ovos_persona_server/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ def get_app(persona_json):
1717

1818
persona = Persona(os.path.basename(persona_json), persona)
1919

20+
@app.route("/status", methods=["GET"])
21+
def status():
22+
# TODO - expose solvers config? what if it leaks keys?
23+
# assume name includes the model if desired
24+
return {"persona": persona.name,
25+
"solvers": list(persona.solvers.loaded_modules.keys())}
26+
2027
@app.route("/completions", methods=["POST"])
2128
def completions():
2229
prompt = request.get_json().get("prompt")

ovos_persona_server/version.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# The following lines are replaced during the release process.
21
# START_VERSION_BLOCK
32
VERSION_MAJOR = 0
4-
VERSION_MINOR = 2
5-
VERSION_BUILD = 1
6-
VERSION_ALPHA = 0
3+
VERSION_MINOR = 3
4+
VERSION_BUILD = 0
5+
VERSION_ALPHA = 1
76
# END_VERSION_BLOCK

0 commit comments

Comments
 (0)