"src/vscode:/vscode.git/clone" did not exist on "2665677b0ab02cbabce107910ccbdd5d9aa284c3"
Unverified Commit 21e1bc47 authored by Bruce-x-1997's avatar Bruce-x-1997 Committed by GitHub
Browse files

[router] fix FunctionCallResponse proto, support arguments is null (#9875)


Co-authored-by: default avatarforestlee95 <forestlee95@foxmail.com>
parent 9a0cac1b
......@@ -1565,7 +1565,8 @@ pub enum FunctionCall {
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct FunctionCallResponse {
pub name: String,
pub arguments: String, // JSON string
#[serde(default)]
pub arguments: Option<String>, // JSON string
}
// ============= Usage Tracking =============
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment