mirror of
https://github.com/instructkr/claw-code.git
synced 2026-11-19 00:00:00 +08:00
fix(providers): preserve OpenAI-compatible reasoning history
This commit is contained in:
1 parent
ae2f203eb5
commit
c1646613d1
3 files changed
+58
-104
No files matched your search
@@ -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