mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 13:00:39 +00:00
add comment
This commit is contained in:
parent
fa4a56cf6c
commit
b1b45ed320
1 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,8 @@ class ChatAgent(ShieldRunnerMixin):
|
|||
steps = turns[-1].steps
|
||||
|
||||
# mark tool execution step as complete
|
||||
# if there's no tool execution in progress step (due to storage, or tool call parsing on client),
|
||||
# we'll create a new tool execution step with current time
|
||||
in_progress_tool_call_step = await self.storage.get_in_progress_tool_call_step(
|
||||
request.session_id, request.turn_id
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue