pub struct OpenResponsesConfig {
pub enabled: bool,
pub emit_events: bool,
pub include_extensions: bool,
pub map_tool_calls: bool,
pub include_reasoning: bool,
}Expand description
Open Responses specification compliance configuration
Enables vendor-neutral LLM API format per the Open Responses specification (https://www.openresponses.org/). When enabled, VT Code emits semantic streaming events and uses standardized response/item structures.
Fields§
§enabled: boolEnable Open Responses specification compliance layer When true, VT Code emits semantic streaming events alongside internal events Default: false (opt-in feature)
emit_events: boolEmit Open Responses events to the event sink When true, streaming events follow Open Responses format (response.created, response.output_item.added, response.output_text.delta, etc.)
include_extensions: boolInclude VT Code extension items (vtcode:file_change, vtcode:web_search, etc.) When false, extension items are omitted from the Open Responses output
map_tool_calls: boolMap internal tool calls to Open Responses function_call items When true, command executions and MCP tool calls are represented as function_call items
include_reasoning: boolInclude reasoning items in Open Responses output When true, model reasoning/thinking is exposed as reasoning items
Trait Implementations§
Source§impl Clone for OpenResponsesConfig
impl Clone for OpenResponsesConfig
Source§impl Debug for OpenResponsesConfig
impl Debug for OpenResponsesConfig
Source§impl Default for OpenResponsesConfig
impl Default for OpenResponsesConfig
Source§impl<'de> Deserialize<'de> for OpenResponsesConfig
impl<'de> Deserialize<'de> for OpenResponsesConfig
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>,
Source§impl JsonSchema for OpenResponsesConfig
impl JsonSchema for OpenResponsesConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more