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

Method models

crates/opencode-provider/src/deepinfra.rs:83–85  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

81 }
82
83 fn models(&self) -> Vec<ModelInfo> {
84 self.models.clone()
85 }
86
87 fn get_model(&self, id: &str) -> Option<&ModelInfo> {
88 self.models.iter().find(|m| m.id == id)

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected