forked from phoenix-oss/llama-stack-mirror
Update spec
This commit is contained in:
parent
9a5803a429
commit
d9d34433fc
9 changed files with 118 additions and 39 deletions
|
@ -415,7 +415,7 @@ class ChatAgent(ShieldRunnerMixin):
|
|||
step_type=StepType.tool_execution.value,
|
||||
step_id=step_id,
|
||||
delta=ToolCallDelta(
|
||||
parse_status=ToolCallParseStatus.success,
|
||||
parse_status=ToolCallParseStatus.succeeded,
|
||||
content=ToolCall(
|
||||
call_id="",
|
||||
tool_name=MEMORY_QUERY_TOOL,
|
||||
|
@ -511,7 +511,7 @@ class ChatAgent(ShieldRunnerMixin):
|
|||
|
||||
delta = event.delta
|
||||
if delta.type == "tool_call":
|
||||
if delta.parse_status == ToolCallParseStatus.success:
|
||||
if delta.parse_status == ToolCallParseStatus.succeeded:
|
||||
tool_calls.append(delta.content)
|
||||
if stream:
|
||||
yield AgentTurnResponseStreamChunk(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue