Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "workflowai"
version = "0.6.0"
version = "0.6.1"
description = "Python SDK for WorkflowAI"
authors = ["Guillaume Aquilina <guillaume@workflowai.com>"]
readme = "README.md"
Expand Down
3 changes: 3 additions & 0 deletions workflowai/core/client/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ class RunResponse(BaseModel):
tool_calls: Optional[list[ToolCall]] = None
tool_call_requests: Optional[list[ToolCallRequest]] = None

feedback_token: Optional[str] = None

def to_domain(
self,
task_id: str,
Expand All @@ -151,6 +153,7 @@ def to_domain(
cost_usd=self.cost_usd,
tool_calls=safe_map_list(self.tool_calls, tool_call_to_domain),
tool_call_requests=safe_map_list(self.tool_call_requests, tool_call_request_to_domain),
feedback_token=self.feedback_token,
)


Expand Down
2 changes: 2 additions & 0 deletions workflowai/core/domain/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class Run(BaseModel, Generic[AgentOutput]):
description="An error that occurred during the run. Only provided if the run failed.",
)

feedback_token: Optional[str] = None

_agent: Optional["_AgentBase[AgentOutput]"] = None

def __eq__(self, other: object) -> bool:
Expand Down