Skip to main content

read_context_window_from_config

Function read_context_window_from_config 

Source
pub fn read_context_window_from_config(bytes: &[u8]) -> Option<u64>
Expand description

Parse a plain-JSON OpenCode config and return the configured context window if present (limit.context). JSONC inputs are not supported.