Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ models
Method
models
crates/opencode-provider/src/bedrock.rs:301–303 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
299
}
300
301
fn models(&self) -> Vec<ModelInfo> {
302
self.models.clone()
303
}
304
305
fn get_model(&self, id: &str) -> Option<&ModelInfo> {
306
self.models.iter().find(|m| m.id == id)
Callers
nothing calls this directly
Calls
1
clone
Method · 0.45
Tested by
no test coverage detected