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

Function default_model_limits

crates/opencode-provider/src/models.rs:204–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202}
203
204pub fn default_model_limits() -> (u64, u64) {
205 (4096, 128000)
206}
207
208pub fn get_model_context_limit(model_id: &str) -> u64 {
209 let lower = model_id.to_lowercase();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected