Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

test(kol-mcp): keep the error fixture provider-agnostic

nirholas2f3e9ee8555d
diff --git a/packages/kol-mcp/test/handlers.test.mjs b/packages/kol-mcp/test/handlers.test.mjs
index 3f0a3079d..cc9943169 100644
--- a/packages/kol-mcp/test/handlers.test.mjs
+++ b/packages/kol-mcp/test/handlers.test.mjs
@@ -220,13 +220,13 @@ test('apiRequest surfaces the platform error_description, not just the bare code
// half a caller can act on.
const body = {
error: 'provider_unavailable',
- error_description: 'KOL trade provider unavailable: helius 429',
+ error_description: 'KOL trade provider unavailable: upstream 429',
};
await withFetch(async () => jsonResponse(body, 502), () =>
assert.rejects(apiRequest('/api/kol/trades'), (err) => {
assert.equal(err.code, 'upstream_error');
assert.equal(err.status, 502);
- assert.equal(err.message, 'KOL trade provider unavailable: helius 429');
+ assert.equal(err.message, 'KOL trade provider unavailable: upstream 429');
assert.deepEqual(err.body, body);
return true;
}),