[router][grpc] Support v1/responses API (#11926)

This commit is contained in:
Chang Su
2025-10-21 17:41:48 -07:00
committed by GitHub
parent 704160017d
commit 70f6309cd4
17 changed files with 3611 additions and 29 deletions
+1 -4
View File
@@ -408,10 +408,7 @@ impl ResponseProcessor {
tool_type: "function".to_string(),
function: FunctionCallResponse {
name: tc.function.name,
arguments: Some(
serde_json::to_string(&tc.function.arguments)
.unwrap_or_else(|_| "{}".to_string()),
),
arguments: Some(tc.function.arguments),
},
}
})