chore: update ruff from 0.5.x to 0.6.x (#7384)
This commit is contained in:
parent
fbf31b5d52
commit
bbb6fcc4f0
4 changed files with 23 additions and 25 deletions
|
|
@ -449,7 +449,7 @@ class BaseAgentRunner(AppRunner):
|
|||
try:
|
||||
tool_responses = json.loads(agent_thought.observation)
|
||||
except Exception as e:
|
||||
tool_responses = { tool: agent_thought.observation for tool in tools }
|
||||
tool_responses = dict.fromkeys(tools, agent_thought.observation)
|
||||
|
||||
for tool in tools:
|
||||
# generate a uuid for tool call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue