mirror of
https://github.com/ultraworkers/claw-code-parity.git
synced 2026-06-10 17:37:50 +02:00
fix(api): box anthropic provider client enum variant
Resolves clippy::large_enum_variant in client.rs. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -407,7 +407,7 @@ async fn provider_client_dispatches_anthropic_requests() {
|
||||
.expect("anthropic provider client should be constructed");
|
||||
let client = match client {
|
||||
ProviderClient::Anthropic(client) => {
|
||||
ProviderClient::Anthropic(client.with_base_url(server.base_url()))
|
||||
ProviderClient::Anthropic(Box::new((*client).with_base_url(server.base_url())))
|
||||
}
|
||||
other => panic!("expected anthropic provider, got {other:?}"),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user