mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-22 02:07:13 +00:00
fix(wizard): use correct reasoning_config format for model creation
Use { level: 'provider_default' } instead of { enabled: false }.
Also use model's scanned abilities instead of hardcoded ['llm'].
This commit is contained in:
@@ -1174,8 +1174,8 @@ function WizardModelScan({
|
||||
await httpClient.createProviderLLMModel({
|
||||
name,
|
||||
provider_uuid: providerUuid,
|
||||
abilities: ['llm'],
|
||||
reasoning_config: { enabled: false } as never,
|
||||
abilities: (model as { abilities?: string[] })?.abilities || ['llm'],
|
||||
reasoning_config: { level: 'provider_default' },
|
||||
context_length: model?.context_length ?? null,
|
||||
extra_args: {},
|
||||
} as never);
|
||||
|
||||
Reference in New Issue
Block a user