feat(config): disable runtime_fallback by default (opt-in)

This commit is contained in:
YeonGyu-Kim
2026-02-22 01:54:34 +09:00
parent 309869a79f
commit 976798d0e3
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ export function createChatMessageHandler(args: {
hooks.runtimeFallback !== undefined &&
(typeof pluginConfig.runtime_fallback === "boolean"
? pluginConfig.runtime_fallback
: (pluginConfig.runtime_fallback?.enabled ?? true))
: (pluginConfig.runtime_fallback?.enabled ?? false))
return async (
input: ChatMessageInput,
+1 -1
View File
@@ -123,7 +123,7 @@ export function createEventHandler(args: {
hooks.runtimeFallback !== undefined &&
(typeof args.pluginConfig.runtime_fallback === "boolean"
? args.pluginConfig.runtime_fallback
: (args.pluginConfig.runtime_fallback?.enabled ?? true))
: (args.pluginConfig.runtime_fallback?.enabled ?? false))
// Avoid triggering multiple abort+continue cycles for the same failing assistant message.
const lastHandledModelErrorMessageID = new Map<string, string>()