MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / default

Method default

crates/opencode-provider/src/responses.rs:967–977  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

965
966impl Default for OpenAIResponsesConfig {
967 fn default() -> Self {
968 Self {
969 provider: "openai".to_string(),
970 url: Arc::new(|path, _model| format!("https://api.openai.com/v1{}", path)),
971 headers: Arc::new(HashMap::new),
972 client: None,
973 file_id_prefixes: None,
974 generate_id: None,
975 metadata_extractor: None,
976 }
977 }
978}
979
980#[derive(Clone)]

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected