pub struct AgentRequestProjection {
pub protocol: String,
pub provider: LlmProvider,
pub model: Option<String>,
pub conversation: Conversation,
pub attachments: Vec<ImageAttachment>,
pub tools: Option<Value>,
pub previous_response_id: Option<String>,
}Expand description
Request-only model projection. Response IDs, output and usage are not invented.
Fields§
§protocol: StringKnown wire dialect.
provider: LlmProviderProvider resolved from request routing.
model: Option<String>Model requested by the caller.
conversation: ConversationOrdered protocol entries, including instructions, tool calls and results.
attachments: Vec<ImageAttachment>Embedded image content; referenced attachments remain in the original JSON.
tools: Option<Value>Provider tool definitions, retaining provider-specific schemas.
previous_response_id: Option<String>Response that this request continues, if declared.
Trait Implementations§
Source§impl Debug for AgentRequestProjection
impl Debug for AgentRequestProjection
Source§impl<'de> Deserialize<'de> for AgentRequestProjection
impl<'de> Deserialize<'de> for AgentRequestProjection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for AgentRequestProjection
impl Freeze for AgentRequestProjection
impl RefUnwindSafe for AgentRequestProjection
impl Send for AgentRequestProjection
impl Sync for AgentRequestProjection
impl Unpin for AgentRequestProjection
impl UnsafeUnpin for AgentRequestProjection
impl UnwindSafe for AgentRequestProjection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more