Use Canonical Models to set context window sizes (#6723)
This commit is contained in:
@@ -1336,7 +1336,9 @@ mod tests {
|
||||
fn make_provider() -> ClaudeCodeProvider {
|
||||
ClaudeCodeProvider {
|
||||
command: PathBuf::from("claude"),
|
||||
model: ModelConfig::new(CLAUDE_CODE_DEFAULT_MODEL).unwrap(),
|
||||
model: ModelConfig::new(CLAUDE_CODE_DEFAULT_MODEL)
|
||||
.unwrap()
|
||||
.with_canonical_limits(CLAUDE_CODE_PROVIDER_NAME),
|
||||
name: "claude-code".to_string(),
|
||||
mcp_config_file: None,
|
||||
cli_process: tokio::sync::OnceCell::new(),
|
||||
|
||||
Reference in New Issue
Block a user