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

Method models

crates/opencode-provider/src/openai.rs:984–986  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

982 }
983
984 fn models(&self) -> Vec<ModelInfo> {
985 self.models.clone()
986 }
987
988 fn get_model(&self, id: &str) -> Option<&ModelInfo> {
989 self.models.iter().find(|m| m.id == id)

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected