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

Function default_model_info

crates/opencode-provider/src/transform.rs:1663–1688  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1661 }
1662
1663 fn default_model_info() -> models::ModelInfo {
1664 models::ModelInfo {
1665 id: "test-model".to_string(),
1666 name: "Test Model".to_string(),
1667 family: None,
1668 release_date: None,
1669 attachment: false,
1670 reasoning: false,
1671 temperature: false,
1672 tool_call: false,
1673 interleaved: None,
1674 cost: None,
1675 limit: models::ModelLimit {
1676 context: 128000,
1677 input: None,
1678 output: 8192,
1679 },
1680 modalities: None,
1681 experimental: None,
1682 status: None,
1683 options: HashMap::new(),
1684 headers: None,
1685 provider: None,
1686 variants: None,
1687 }
1688 }
1689
1690 #[test]
1691 fn test_max_output_tokens() {

Calls 1

newFunction · 0.85