mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-08-22 23:25:39 +00:00
tools in AssistantObject needs to be Vec<HashMap<String, String>>
This commit is contained in:
@ -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>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user