@devries-cameron20 / composio-1 / commits / de32d3459
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

chore(harness): bump aimock to 1.47.0 (#5163)

This PR: - bumps the LLM mock used by `harness/run.mjs` (`--llm mock` sweeps) from `@copilotkit/aimock` 1.38.0 to 1.47.0 - passes `--host` instead of `-h`: since aimock 1.43.0, `-h` prints help, so the server would never start and the sweep would time out waiting for it - no fixture changes: the existing `harness/llm-mock` fixtures load unchanged ## How has this been tested? Started aimock 1.47.0 exactly as the harness does (`npx -y @copilotkit/aimock@1.47.0 -c aimock.json -p <port> --host 127.0.0.1`) from `harness/llm-mock`: - `GET /v1/models` returns 200 - an OpenAI `chat/completions` request and an Anthropic `messages` request asking for "HackerNews user" both return the fixture's `HACKERNEWS_GET_USER` tool call with `{"username":"pg"}`

Alberto Schiabel committed Oct 30, 2026 at 19:34 UTC de32d3459beabaf472abca963429e91ea67d064a
1 file changed +2 -2
harness/run.mjs
+2 -2
@@ -29,7 +29,7 @@ import { HarnessError } from './errors.mjs';
29
30 const ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..');
31 const ARTIFACTS = join(ROOT, '.artifacts', 'examples-parity');
32 -const AIMOCK_VERSION = '1.38.0';
32 +const AIMOCK_VERSION = '1.47.0';
33 const AIMOCK_PORT = Number(process.env.AIMOCK_PORT ?? 4010);
34
35 // Set by cmdSweep when --llm mock: LLM traffic goes to a local aimock server
@@ -366,7 +366,7 @@ const startLlmMock = async (runDir) => {
366 const logFile = join(runDir, 'aimock.log');
367 const child = spawn(
368 'npx',
369 - ['-y', `@copilotkit/aimock@${AIMOCK_VERSION}`, '-c', 'aimock.json', '-p', String(AIMOCK_PORT), '-h', '127.0.0.1'],
369 + ['-y', `@copilotkit/aimock@${AIMOCK_VERSION}`, '-c', 'aimock.json', '-p', String(AIMOCK_PORT), '--host', '127.0.0.1'],
370 { cwd: mockDir, detached: true, stdio: ['ignore', 'pipe', 'pipe'] }
371 );
372 child.stdout.on('data', (c) => appendFileSync(logFile, c));