Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ models
Method
models
crates/opencode-provider/src/bootstrap.rs:2387–2389 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
2385
}
2386
2387
fn models(&self) -> Vec<RuntimeModelInfo> {
2388
self.models.clone()
2389
}
2390
2391
fn get_model(&self, id: &str) -> Option<&RuntimeModelInfo> {
2392
self.model_index.get(id)
Callers
1
wrap_provider_for_state
Function · 0.45
Calls
1
clone
Method · 0.45
Tested by
no test coverage detected