fix(misc): minor fixes across reasoning cache, account fallback, binary manager (#3177)

Misc: ProviderProfile export, DeepSeek reasoning regex, binary guard. Integrated into release/v3.8.10.
This commit is contained in:
PizzaV
2026-06-04 23:10:27 +02:00
committed by GitHub
parent afe8f11bf8
commit 0ff8949dc5
3 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ import {
} from "../../src/shared/utils/classify429";
import { resolveUseUpstream429BreakerHints } from "../../src/shared/utils/providerHints";
type ProviderProfile = {
export type ProviderProfile = {
baseCooldownMs: number;
useUpstreamRetryHints: boolean;
/** Issue #2100 follow-up. Stored override; undefined → per-provider default. */

View File

@@ -45,7 +45,8 @@ const REASONING_REPLAY_MODEL_PATTERNS = [
/deepseek-r1/i,
/deepseek-reasoner/i,
/deepseek-chat/i,
/deepseek[-/]v4[-.](flash|pro)/i,
/deepseek[-/]v4[-.](flash|pro)(-free)?/i,
/zen\/deepseek-v4/i,
/kimi-k2/i,
/qwq/i,
/qwen.*think/i,

View File

@@ -162,6 +162,7 @@ export async function getInstalledVersions(dataDir?: string): Promise<string[]>
return entries
.filter(
(e) =>
typeof e === "string" &&
e.startsWith("cliproxyapi-") &&
fsSync.statSync(path.join(/* turbopackIgnore: true */ binDir, e)).isDirectory()
)