Skip to content

Commit

Permalink
Merge pull request #946 from WolframResearch/bugfix/454508
Browse files Browse the repository at this point in the history
Bugfix: Don't change value of `$llmKitService` when setting `$llmKit = False`
  • Loading branch information
rhennigan authored Nov 22, 2024
2 parents 605ecdf + 9552997 commit 95edf72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Chatbook/Settings.wl
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ setLLMKitFlags // beginDefinition;
setLLMKitFlags[ as_ ] := setLLMKitFlags[ as[ "Authentication" ], as[ "Model", "Service" ] ];
setLLMKitFlags[ "LLMKit", service_String ] := ($llmKit = True; $llmKitService = service);
setLLMKitFlags[ "LLMKit", _ ] := $llmKit = True;
setLLMKitFlags[ _, _ ] := ($llmKit = False; $llmKitService = None);
setLLMKitFlags[ _, _ ] := $llmKit = False;
setLLMKitFlags // endDefinition;

(* ::**************************************************************************************************************:: *)
Expand Down

0 comments on commit 95edf72

Please sign in to comment.