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

Function test_for_model_claude

crates/opencode-session/src/system.rs:163–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161
162 #[test]
163 fn test_for_model_claude() {
164 let prompt = SystemPrompt::for_model("claude-sonnet-4-20250514");
165 assert!(prompt.contains("OpenCode"));
166 }
167
168 #[test]
169 fn test_for_model_gpt4() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected