mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
add tool_calls field to Message struct
This commit is contained in:
parent
dd42bf97fb
commit
f0b404ba78
@ -1187,6 +1187,7 @@ pub struct Message {
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[schema(example = "\"David\"")]
|
||||
name: Option<String>,
|
||||
tool_calls: Option<Vec<ToolCall>>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Serialize, ToSchema, Debug, PartialEq)]
|
||||
|
Loading…
Reference in New Issue
Block a user