Skip to content

Commit

Permalink
Merge pull request #1049 from sigoden/fix-tool-schema
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden authored Dec 11, 2024
2 parents 2e7ff29 + e05dbf4 commit 1d8892a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ pub struct JsonSchema {
pub description: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub properties: Option<IndexMap<String, JsonSchema>>,
#[serde(skip_serializing_if = "Option::is_none")]
pub items: Option<Box<JsonSchema>>,
#[serde(rename = "enum", skip_serializing_if = "Option::is_none")]
pub enum_value: Option<Vec<String>>,
#[serde(skip_serializing_if = "Option::is_none")]
Expand Down

0 comments on commit 1d8892a

Please sign in to comment.