Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(mcp-host): send 257 calls in the failover tool-call limit case

Alfredo Lopez4d19017e1f9e
diff --git a/mcp-host/package-lock.json b/mcp-host/package-lock.json
index 1f9ab2509..bbd3cb218 100644
--- a/mcp-host/package-lock.json
+++ b/mcp-host/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-mcp-host",
- "version": "0.1.359",
+ "version": "0.1.360",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-mcp-host",
- "version": "0.1.359",
+ "version": "0.1.360",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@anthropic-ai/sdk": "^0.32.0",
diff --git a/mcp-host/package.json b/mcp-host/package.json
index dfc631db5..2a96d2c3b 100644
--- a/mcp-host/package.json
+++ b/mcp-host/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-mcp-host",
- "version": "0.1.359",
+ "version": "0.1.360",
"description": "MCP Host - reads Host CRD and provides LLM access via OpenAI/Claude",
"main": "dist/main.js",
"engines": {
diff --git a/mcp-host/src/llm/failover/__tests__/engine.test.ts b/mcp-host/src/llm/failover/__tests__/engine.test.ts
index b5fd5f0bc..05b9499e9 100644
--- a/mcp-host/src/llm/failover/__tests__/engine.test.ts
+++ b/mcp-host/src/llm/failover/__tests__/engine.test.ts
@@ -222,7 +222,7 @@ describe('FailoverEngine', () => {
const stream = vi.fn().mockResolvedValue({
text: '',
outcome: 'success',
- toolCalls: Array.from({ length: 65 }, (_, index) => ({
+ toolCalls: Array.from({ length: 257 }, (_, index) => ({
id: `call-${index}`,
name: 'echo',
arguments: {},