feat: 实现起卦、设置与积分系统
This commit is contained in:
@@ -13,6 +13,18 @@ This document is the source of truth for backend RFC7807 `code` values consumed
|
||||
| `AUTH_REFRESH_TOKEN_MISSING` | 401 | Refresh token missing on logout | Treat as local logout and clear session |
|
||||
| `AUTH_USER_NOT_FOUND` | 404 | User not found | Show not-found message where applicable |
|
||||
|
||||
## Agent Points
|
||||
|
||||
| code | status | meaning | frontend handling |
|
||||
|---|---:|---|---|
|
||||
| `POINTS_INSUFFICIENT_BALANCE` | 402 | Not enough points to start this run | Show recharge/insufficient-points prompt |
|
||||
|
||||
## Agent Session
|
||||
|
||||
| code | status | meaning | frontend handling |
|
||||
|---|---:|---|---|
|
||||
| `AGENT_SESSION_RUN_LIMIT_EXCEEDED` | 409 | Session already reached max run count (start + 3 follow-ups) | Show run-limit message and require starting a new session |
|
||||
|
||||
Compatibility strategy:
|
||||
|
||||
- Additive changes only for new codes.
|
||||
|
||||
Reference in New Issue
Block a user