Description
When a user sends a very long prompt, the entire prompt is currently displayed in the conversation, which can take up a large amount of vertical space and make the chat difficult to navigate.
For long prompts, we should automatically collapse the content after a reasonable limit, for example 40 words, while keeping the full prompt accessible through an expand/collapse control.
Expected Behavior
For prompts under the limit, display the full content normally.
For prompts exceeding the limit, show the first ~40 words followed by a "Show more" or expandable section.
For example:
Add a verify mode that allows Nanocoder to act as an autonomous participant in the CI/CD lifecycle, automatically investigating CI failures, performing read-only PR reviews, and optionally proposing...
Show more ↓
Clicking the control should expand the complete original prompt, and clicking again should collapse it.
Actual Behavior
The entire user prompt is displayed without any collapsing or truncation, even when it contains hundreds or thousands of words. This makes the conversation unnecessarily long and pushes the agent's response far down the page.
Goal
Keep the conversation compact and readable while ensuring that users can still access the complete prompt whenever they need it.
The full prompt should remain available and should never be truncated or lost.
Description
When a user sends a very long prompt, the entire prompt is currently displayed in the conversation, which can take up a large amount of vertical space and make the chat difficult to navigate.
For long prompts, we should automatically collapse the content after a reasonable limit, for example 40 words, while keeping the full prompt accessible through an expand/collapse control.
Expected Behavior
For prompts under the limit, display the full content normally.
For prompts exceeding the limit, show the first ~40 words followed by a "Show more" or expandable section.
For example:
Show more ↓
Clicking the control should expand the complete original prompt, and clicking again should collapse it.
Actual Behavior
The entire user prompt is displayed without any collapsing or truncation, even when it contains hundreds or thousands of words. This makes the conversation unnecessarily long and pushes the agent's response far down the page.
Goal
Keep the conversation compact and readable while ensuring that users can still access the complete prompt whenever they need it.
The full prompt should remain available and should never be truncated or lost.