Merge commit 'd9924ee' into hermes-integration

This commit is contained in:
James Babcock committed 2026-10-17 13:45:43 -07:00
commit 825559aa82
9 files changed
+297 -4

No files matched your search

+4
View File
@@ -31,6 +31,8 @@ import type { AssistantContext } from "../../assistant/types";
import { SingleNotificationLayer } from "../notifications";
import {
anthropicApiKeySetting,
assistantHermesKeySetting,
assistantHermesUrlSetting,
assistantBackendSetting,
assistantBridgeHostSetting,
assistantBridgePortSetting,
@@ -1686,6 +1688,8 @@ class Shell {
const llm = resolveAssistantModel(model, {
anthropic: anthropicApiKeySetting.get(),
openai: openAiApiKeySetting.get(),
hermesUrl: assistantHermesUrlSetting.get(),
hermesKey: assistantHermesKeySetting.get(),
});
if (llm && reasoning !== "default" && llm.effort) llm.effort = reasoning;
return llm ? { kind: "direct", llm } : null;