We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0462d2f commit 5c66449Copy full SHA for 5c66449
index.ts
@@ -14,7 +14,7 @@ const plugin: Plugin = (async (ctx) => {
14
15
// Suppress AI SDK warnings
16
if (typeof globalThis !== "undefined") {
17
- ;(globalThis as any).AI_SDK_LOG_WARNINGS = false
+ ; (globalThis as any).AI_SDK_LOG_WARNINGS = false
18
}
19
20
const logger = new Logger(config.debug)
@@ -26,6 +26,7 @@ const plugin: Plugin = (async (ctx) => {
26
27
return {
28
"experimental.chat.system.transform": createSystemPromptHandler(state, logger, config),
29
+
30
"experimental.chat.messages.transform": createChatMessageTransformHandler(
31
ctx.client,
32
state,
0 commit comments