Files
AgenticCode/openspec/changes/multi-turn-conversations/tasks.md
local 3278a408b9 feat: add multi-turn conversation support within a session
Send full conversation history with each API request so the AI maintains
context across exchanges. Add "New Chat" button to clear the conversation
and start fresh. No persistent storage — session resets on page reload.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 02:40:33 +01:00

14 lines
502 B
Markdown

## 1. Multi-turn History
- [x] 1.1 Change ChatRequest construction in Chat.razor to send all prior messages (excluding the empty assistant placeholder) instead of just the latest user message
## 2. New Chat Button
- [x] 2.1 Add a "New Chat" icon button to the AppBar or chat page that clears _messages
- [x] 2.2 Disable the "New Chat" button while streaming is in progress
## 3. Verify
- [x] 3.1 Run dotnet build to confirm no errors
- [x] 3.2 Run dotnet test to confirm existing tests still pass