Skip to content

Commit

Permalink
tools in AssistantObject needs to be Vec<HashMap<String, String>>
Browse files Browse the repository at this point in the history
  • Loading branch information
N3mes1s committed Nov 21, 2023
1 parent 445b1e1 commit 5024306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v1/assistant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub struct AssistantObject {
pub model: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub instructions: Option<String>,
pub tools: Vec<String>,
pub tools: Vec<HashMap<String, String>>,
pub file_ids: Vec<String>,
pub metadata: HashMap<String, String>,
}
Expand Down

0 comments on commit 5024306

Please sign in to comment.