fix: Fixes structured output after streaming change to agent (#3448)

This commit is contained in:
Jarrod Sibbison
2025-07-16 20:46:22 +10:00
committed by GitHub
parent 77ea27f5f5
commit eda810040d
3 changed files with 130 additions and 22 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ use serde_json::Value;
pub const FINAL_OUTPUT_TOOL_NAME: &str = "recipe__final_output";
pub const FINAL_OUTPUT_CONTINUATION_MESSAGE: &str =
"I see I MUST call the `final_output` tool NOW with the final output for the user.";
"You MUST call the `final_output` tool NOW with the final output for the user.";
pub struct FinalOutputTool {
pub response: Response,