(plan) convert original implement plan to mock api
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# 5.7 — POST /api/chat (GREEN)
|
||||
# 5.7 — POST /api/chat (mock, GREEN)
|
||||
|
||||
Phase: 5 — Chat + Rate Limiter (Surface D)
|
||||
Stage: GREEN
|
||||
|
||||
Depends on: [5.1](5.1-ratelimit-test.md), [5.2](5.2-disconnect-test.md), [5.3](5.3-budget-test.md)
|
||||
- [x] `POST /api/chat` — SSE token stream
|
||||
|
||||
- [ ] `POST /api/chat` — session + Turnstile, 12/day/session, 6 global concurrent, SSE token stream
|
||||
Done — implemented in [app/api/chat/route.ts](../app/api/chat/route.ts). Streams a canned reply through `queue` -> `reasoning` -> `content` -> `done` events. Mock only: no session, no Turnstile, no rate limiting, no real model. See [REQUIREMENTS.md](REQUIREMENTS.md).
|
||||
|
||||
Reference in New Issue
Block a user