Skip to content

Commit

Permalink
Merge branch 'stateless-pre-release' of github.com:agenta-ai/agenta i…
Browse files Browse the repository at this point in the history
…nto stateless-pre-release
  • Loading branch information
jp-agenta committed Dec 27, 2024
2 parents badac33 + 0c13b65 commit 837ea2b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agenta-cli/agenta/sdk/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"groq/mixtral-8x7b-32768",
"groq/gemma-7b-it",
],
"Mistral AI": [
"Mistral": [
"mistral/mistral-tiny",
"mistral/mistral-small",
"mistral/mistral-medium",
Expand Down
3 changes: 3 additions & 0 deletions agenta-cli/agenta/sdk/decorators/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from agenta.sdk.router import router
from agenta.sdk.utils.exceptions import suppress, display_exception
from agenta.sdk.utils.logging import log
from agenta.sdk.utils.helpers import get_current_version
from agenta.sdk.types import (
DictInput,
FloatParam,
Expand Down Expand Up @@ -263,6 +264,8 @@ async def test_wrapper(request: Request, *args, **kwargs) -> Any:
app.openapi_schema = None # Forces FastAPI to re-generate the schema
openapi_schema = app.openapi()

openapi_schema["agenta_sdk"] = {"version": get_current_version()}

for _route in entrypoint.routes:
self.override_schema(
openapi_schema=openapi_schema,
Expand Down
2 changes: 1 addition & 1 deletion agenta-cli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "agenta"
version = "0.30.0a4"
version = "0.30.0a5"
description = "The SDK for agenta is an open-source LLMOps platform."
readme = "README.md"
authors = ["Mahmoud Mabrouk <[email protected]>"]
Expand Down

0 comments on commit 837ea2b

Please sign in to comment.