mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
fix: format providerConfigUtils.ts to pass CI checks
This commit is contained in:
@@ -614,9 +614,7 @@ const CODEX_CHAT_WIRE_API_VALUES = new Set([
|
||||
export const isCodexChatWireApi = (
|
||||
wireApi: string | undefined | null,
|
||||
): boolean =>
|
||||
CODEX_CHAT_WIRE_API_VALUES.has(
|
||||
(wireApi ?? "").trim().toLowerCase(),
|
||||
);
|
||||
CODEX_CHAT_WIRE_API_VALUES.has((wireApi ?? "").trim().toLowerCase());
|
||||
|
||||
// 从 Codex 的 TOML 配置文本中提取 wire_api(支持单/双引号)
|
||||
export const extractCodexWireApi = (
|
||||
|
||||
Reference in New Issue
Block a user