mirror of
https://github.com/katanemo/plano.git
synced 2026-05-09 15:52:44 +02:00
Make model field optional in request types, resolve from default provider (#768)
This commit is contained in:
parent
7b5f1549a5
commit
baeee56f6b
6 changed files with 61 additions and 11 deletions
|
|
@ -29,6 +29,7 @@ impl TryFrom<&[u8]> for ResponsesAPIResponse {
|
|||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct ResponsesAPIRequest {
|
||||
/// The model to use for generating the response
|
||||
#[serde(default)]
|
||||
pub model: String,
|
||||
|
||||
/// Text, image, or file inputs to the model
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue