Add image input support for OpenAI models (#30639)
Release Notes: - Added input image support for OpenAI models
This commit is contained in:
parent
68afe4fdda
commit
dd6594621f
5 changed files with 162 additions and 43 deletions
|
@ -543,7 +543,7 @@ pub enum RequestContent {
|
|||
#[derive(Debug, Serialize, Deserialize)]
|
||||
#[serde(untagged)]
|
||||
pub enum ToolResultContent {
|
||||
JustText(String),
|
||||
Plain(String),
|
||||
Multipart(Vec<ToolResultPart>),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue