Skip to content

Commit

Permalink
fix null in tool type response (#687)
Browse files Browse the repository at this point in the history
* fix null in tool type response

* remove debug test

* add back trait we dropped :)
  • Loading branch information
wseaton authored Aug 15, 2024
1 parent 376e9d8 commit a09a68a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mistralrs-core/src/tools/response.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#[cfg_attr(feature = "pyo3_macros", pyo3::pyclass(eq, eq_int))]
#[cfg_attr(feature = "pyo3_macros", pyo3(get_all))]
#[derive(Clone, Debug, serde::Serialize, PartialEq)]
#[serde(untagged)]
#[serde(rename_all = "snake_case")]
pub enum ToolCallType {
#[serde(rename = "function")]
Function,
}

Expand Down

0 comments on commit a09a68a

Please sign in to comment.