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§fn clone(&self) -> OpenResponsesConfig
fn clone(&self) -> OpenResponsesConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§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 moreAuto Trait Implementations§
impl Freeze for OpenResponsesConfig
impl RefUnwindSafe for OpenResponsesConfig
impl Send for OpenResponsesConfig
impl Sync for OpenResponsesConfig
impl Unpin for OpenResponsesConfig
impl UnsafeUnpin for OpenResponsesConfig
impl UnwindSafe for OpenResponsesConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more