yashascoding

Results issues of yashascoding

### 📜 Description The `POST /stream` endpoint returns HTTP 400 when an unhandled exception occurs, incorrectly classifying server-side failures as client errors. In `docsgpt/api/answer/routes/stream.py` (around lines 252–261), the catch-all exception...

bug
backend

## Summary The `Idempotency-Key` claim lifecycle for `POST /v1/chat/completions` (`docsgpt/api/v1/idempotency.py`) never scopes `release`/`finalize` to the request that owns the claim. When a stale-claim takeover creates two claimants on one key,...

bug
backend