Sfoglia il codice sorgente

test: update tool agent fixtures for inbox API

Tianyi Cui 2 mesi fa
parent
commit
b21f13baa1

+ 1 - 0
packages/fs/tool-str-replace-editor/tests/tools.spec.ts

@@ -39,6 +39,7 @@ function agent(ctx: Context, cwd: string): Agent {
     steer: () => {},
     inject: () => {},
     send: () => {},
+    updateInbox: () => 'not-found',
     cancel() {},
     whenIdle: () => Promise.resolve(),
   }

+ 1 - 0
packages/pty/tool-bash-persistent/tests/loader-composition.spec.ts

@@ -49,6 +49,7 @@ function agent(ctx: Context, cwd: string): Agent {
     steer: () => {},
     inject: () => {},
     send: () => {},
+    updateInbox: () => 'not-found',
     cancel() {},
     whenIdle: () => Promise.resolve(),
   }

+ 1 - 0
packages/pty/tool-bash-persistent/tests/tools.spec.ts

@@ -45,6 +45,7 @@ function agent(ctx: Context, cwd: string | undefined): Agent {
     steer: () => {},
     inject: () => {},
     send: () => {},
+    updateInbox: () => 'not-found',
     cancel() {},
     whenIdle: () => Promise.resolve(),
   }