feat(ai): add skip TLS certificate verification for AI providers

This commit is contained in:
Resheba authored and GitHub committed 2026-09-05 14:03:58 +08:00
1 parent dca6d0e5f6
commit 54d7a2c05d
26 files changed
+111

No files matched your search

+1
View File
@@ -502,6 +502,7 @@ export function normalizeAiConfig(config: Partial<AiConfig> | null | undefined):
authMethod: config?.authMethod ?? defaultConfigs[provider].authMethod,
proxyEnabled: !!config?.proxyEnabled,
proxyUrl: config?.proxyUrl ?? "",
skipTlsVerify: !!config?.skipTlsVerify,
enableThinking: config?.enableThinking ?? true,
reasoningLevel: normalizeAiReasoningLevel(config?.reasoningLevel),
maxOutputTokens,