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

Method models

crates/opencode-session/src/compaction.rs:1049–1051  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1047 }
1048
1049 fn models(&self) -> Vec<ModelInfo> {
1050 vec![self.model.clone()]
1051 }
1052
1053 fn get_model(&self, id: &str) -> Option<&ModelInfo> {
1054 if id == self.model.id {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected