Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix(chat): match SharedV3ProviderOptions type for reasoning providerOptions
Akarshan Biswasaf356cd16393
diff --git a/web-app/src/lib/reasoningProviderOptions.ts b/web-app/src/lib/reasoningProviderOptions.tsindex 6d7083537..476628586 100644--- a/web-app/src/lib/reasoningProviderOptions.ts+++ b/web-app/src/lib/reasoningProviderOptions.ts@@ -1,3 +1,4 @@+import type { JSONObject } from '@ai-sdk/provider'import {isThinkingBudgetLevelKey,type ThinkingBudgetLevelKey,@@ -44,7 +45,7 @@ function readBudgetLevel(export function buildReasoningProviderOptions(providerId: string,model: Model | null | undefined-): Record<string, Record<string, unknown>> | undefined {+): Record<string, JSONObject> | undefined {const reasoning = readReasoning(model)const level = readBudgetLevel(model)