feat(config): disable runtime_fallback by default (opt-in)
This commit is contained in:
@@ -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
@@ -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>()
|
||||
|
||||
Reference in New Issue
Block a user