/*
* OpenAI API
*
* The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
*
* The version of the OpenAPI document: 2.3.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// ToolCallCaller : The execution context that produced this tool call.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum ToolCallCaller {
DirectToolCallCaller(Box<models::DirectToolCallCaller>),
ProgramToolCallCaller(Box<models::ProgramToolCallCaller>),
}
impl Default for ToolCallCaller {
fn default() -> Self {
Self::DirectToolCallCaller(Default::default())
}
}