oharness-core 0.1.0

Core types, event schema, and context-plumbing traits for open-harness
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! `LlmCapabilities` (ยง4.5). Returned by value from `Llm::capabilities()`.

use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Default, Serialize, Deserialize)]
#[cfg_attr(feature = "schemars-export", derive(schemars::JsonSchema))]
pub struct LlmCapabilities {
    pub streaming: bool,
    pub prompt_caching: bool,
    pub parallel_tool_use: bool,
    pub vision: bool,
    pub thinking: bool,
    pub structured_output: bool,
    pub max_context_tokens: u32,
    pub max_output_tokens: u32,
}