docs: add CLAUDE.md with project guidelines and conventions, document new devii admin quota reset endpoints and CLI commands, update README with coverage CI and devii_admin_daily_usd config, add European date normalization to ProjectForm model

This commit is contained in:
2026-06-08 22:30:25 +00:00
parent 841c1c7417
commit 547e4eda8c
45 changed files with 1844 additions and 99 deletions
+2 -2
View File
@@ -173,9 +173,9 @@ async def devii_ws(websocket: WebSocket):
text = str(data.get("text", "")).strip()
if not text:
continue
limit = svc.daily_limit_for(owner_kind)
limit = svc.daily_limit_for(owner_kind, owner_is_admin)
spent = svc.spent_24h(owner_kind, owner_id)
if spent >= limit:
if limit > 0 and spent >= limit:
await websocket.send_json({
"type": "error",
"text": "Daily AI quota reached (100%). Try again later.",