Skip to content

Commit

Permalink
Merge pull request #2044 from Agenta-AI/feature/age-733-bug-playgroun…
Browse files Browse the repository at this point in the history
…d-unresponsive-due-to-frozen-llmtokens-after

[Fix]: Resolve Prevent Playground Error by Unfreezing LlmTokens After Fern Update
  • Loading branch information
aakrem authored Sep 3, 2024
2 parents 1e0cb3f + 97ba6fa commit 662ffa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions agenta-cli/agenta/client/backend/types/llm_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ class LlmTokens(UniversalBaseModel):

if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
extra="allow", frozen=True
extra="allow", frozen=False
) # type: ignore # Pydantic v2
else:

class Config:
frozen = True
frozen = False
smart_union = True
extra = pydantic.Extra.allow
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.24.3"
version = "0.24.4"
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 662ffa2

Please sign in to comment.