mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
fix: remove redundant struct
This commit is contained in:
parent
91a705e1a9
commit
4d040b3478
@ -867,15 +867,6 @@ pub(crate) struct Tool {
|
||||
pub function: FunctionDefinition,
|
||||
}
|
||||
|
||||
// a serializeable version of Message
|
||||
#[derive(Clone, Serialize, Deserialize, Default)]
|
||||
pub(crate) struct SerializedMessage {
|
||||
role: String,
|
||||
content: String,
|
||||
name: Option<String>,
|
||||
tool_calls: Option<Vec<ToolCall>>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Serialize, Deserialize, Default)]
|
||||
pub(crate) struct ChatTemplateInputs<'a> {
|
||||
messages: Vec<Message>,
|
||||
|
Loading…
Reference in New Issue
Block a user