mirror of
https://github.com/instructkr/claw-code.git
synced 2026-06-10 00:12:16 +08:00
fix(providers): preserve OpenAI-compatible reasoning history
This commit is contained in:
@@ -296,9 +296,6 @@ pub fn metadata_for_model(model: &str) -> Option<ProviderMetadata> {
|
||||
None
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#[must_use]
|
||||
pub fn strip_provider_prefix(canonical_model: &str) -> String {
|
||||
if let Some(pos) = canonical_model.find('/') {
|
||||
@@ -308,8 +305,6 @@ pub fn strip_provider_prefix(canonical_model: &str) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
#[must_use]
|
||||
pub fn provider_diagnostics_for_model(model: &str) -> ProviderDiagnostics {
|
||||
let resolved_model = resolve_model_alias(model);
|
||||
|
||||
Reference in New Issue
Block a user