We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_check_for_final_output_from_tools
1 parent a3128ce commit 9121ddbCopy full SHA for 9121ddb
src/agents/_run_impl.py
@@ -961,7 +961,10 @@ async def _check_for_final_output_from_tools(
961
context_wrapper: RunContextWrapper[TContext],
962
config: RunConfig,
963
) -> ToolsToFinalOutputResult:
964
- """Returns (i, final_output)."""
+ """Determine if tool results should produce a final output.
965
+ Returns:
966
+ ToolsToFinalOutputResult: Indicates whether final output is ready, and the output value.
967
+ """
968
if not tool_results:
969
return _NOT_FINAL_OUTPUT
970
0 commit comments