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

Method models

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

Source from the content-addressed store, hash-verified

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

Callers 11

list_models_interactiveFunction · 0.45
select_modelFunction · 0.45
list_modelsFunction · 0.45
choose_github_modelFunction · 0.45
registerMethod · 0.45
register_arcMethod · 0.45
list_modelsMethod · 0.45
test_provider_metadataFunction · 0.45
get_model_idMethod · 0.45

Calls 1

cloneMethod · 0.45

Tested by 2

test_provider_metadataFunction · 0.36