Procházet zdrojové kódy

fix issue when @ tagging fiels throwing error

Dax Raad před 6 měsíci
rodič
revize
fab0e5de04
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/opencode/src/session/index.ts

+ 1 - 1
packages/opencode/src/session/index.ts

@@ -523,7 +523,7 @@ export namespace Session {
                   t.execute(args, {
                     sessionID: input.sessionID,
                     abort: new AbortController().signal,
-                    agent: agent.name,
+                    agent: input.agent!,
                     messageID: userMsg.id,
                     metadata: async () => {},
                   }),