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 4fe0a5c commit c06dd7fCopy full SHA for c06dd7f
index.ts
@@ -15,7 +15,7 @@ const plugin: Plugin = (async (ctx) => {
15
16
// Suppress AI SDK warnings
17
if (typeof globalThis !== "undefined") {
18
- ;(globalThis as any).AI_SDK_LOG_WARNINGS = false
+ ; (globalThis as any).AI_SDK_LOG_WARNINGS = false
19
}
20
21
const logger = new Logger(config.debug)
@@ -30,6 +30,10 @@ const plugin: Plugin = (async (ctx) => {
30
_input: unknown,
31
output: { system: string[] },
32
) => {
33
+ if (state.isSubAgent) {
34
+ return
35
+ }
36
+
37
const systemText = output.system.join("\n")
38
const internalAgentSignatures = [
39
"You are a title generator",
0 commit comments