diff --git a/packages/a2a-server/src/http/app.ts b/packages/a2a-server/src/http/app.ts index e647ecb05cb..05fdeceaf50 100644 --- a/packages/a2a-server/src/http/app.ts +++ b/packages/a2a-server/src/http/app.ts @@ -339,6 +339,7 @@ export async function createApp() { error: 'Listing all task metadata is only supported when using InMemoryTaskStore.', }); + return; } try { const wrappers = agentExecutor.getAllTasks();