Skip to content

Commit

Permalink
refactor (cli:sdk): set tree attribute to be None if not provided in …
Browse files Browse the repository at this point in the history
…inline_traces and bump pre-release version
  • Loading branch information
aybruhm committed Nov 25, 2024
1 parent 0dcf7dc commit 5ff5956
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agenta-cli/agenta/sdk/decorators/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ async def execute_function(

async def handle_success(self, result: Any, inline_trace: bool):
data = None
trace = dict()
trace = None

with suppress():
data = self.patch_result(result)
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.27.6"
version = "0.27.8a2"
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 5ff5956

Please sign in to comment.