19 lines
617 B
Rust
19 lines
617 B
Rust
//! OpenAI Responses scheme の wire-level 既定 capability。
|
|
//!
|
|
//! モデル ID 固有の能力テーブルは高レベルの client 構築層の責務。
|
|
//! ここでは wire の保守的 default のみ。
|
|
|
|
use crate::llm_client::capability::{
|
|
CacheStrategy, ModelCapability, StructuredOutput, ToolCallingSupport,
|
|
};
|
|
|
|
pub(crate) fn default_capability() -> ModelCapability {
|
|
ModelCapability {
|
|
tool_calling: ToolCallingSupport::Parallel,
|
|
structured_output: StructuredOutput::JsonSchema,
|
|
reasoning: None,
|
|
vision: false,
|
|
prompt_caching: CacheStrategy::Auto,
|
|
}
|
|
}
|