Skip to content

Commit

Permalink
fix: no_tool should be true for tool response
Browse files Browse the repository at this point in the history
  • Loading branch information
plutoless committed Nov 18, 2024
1 parent ca27073 commit b7049f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ async def handle_tool_call(tool_call):
}
new_message["content"] = new_message["content"] + \
self._convert_to_content_parts(result_content)
await self.queue_input_item(True, messages=[new_message])
await self.queue_input_item(True, messages=[new_message], no_tool=True)
else:
ten_env.log_error(f"Tool call failed")
self.tool_task_future.set_result(None)
Expand Down

0 comments on commit b7049f7

Please sign in to comment.