Skip to main content

oharness_core/
capabilities.rs

1//! `LlmCapabilities` (ยง4.5). Returned by value from `Llm::capabilities()`.
2
3use serde::{Deserialize, Serialize};
4
5#[derive(Debug, Clone, Default, Serialize, Deserialize)]
6#[cfg_attr(feature = "schemars-export", derive(schemars::JsonSchema))]
7pub struct LlmCapabilities {
8    pub streaming: bool,
9    pub prompt_caching: bool,
10    pub parallel_tool_use: bool,
11    pub vision: bool,
12    pub thinking: bool,
13    pub structured_output: bool,
14    pub max_context_tokens: u32,
15    pub max_output_tokens: u32,
16}