Vaia agent (Generate Roadmap Summary) fails with HTTP 400 "prompt is too long"
search cancel

Vaia agent (Generate Roadmap Summary) fails with HTTP 400 "prompt is too long"

book

Article ID: 453571

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

An object-bound Vaia agent with tools enabled sends the model no object anchor, the model runs a MCP discovery loop and accumulated tool payloads grow the request past the token model context limit. The call fails with HTTP 400 using seeded Generate Roadmap Summary agent 


STEPS TO REPRODUCE:
1. On a system with VAIA setup with AI model and integration, connect to MUX - Vaia - AI Agents
2. Make sure the OOTB AI Agent Generate Roadmap Summary is enabled
2. Open a roadmap with several swimlanes and items in Modern UX
3. In the chat panel on that roadmap, run Generate Roadmap Summary


Expected Results: The agent returns a markdown executive summary of the roadmap.
Actual Results: The chat panel returns error : Failed to communicate with AI model. Status: 400. Details: prompt is too long: 315485 tokens > 200000 maximum

Environment

Clarity 16.4.3

Cause

DE211100

Resolution

In Review by Engineering