vault backup: 2026-04-24 17:59:18

This commit is contained in:
Vadym Samoilenko 2026-04-24 17:59:19 +01:00
parent 753de0c9f2
commit 690a24688d
2 changed files with 8 additions and 0 deletions

View file

@ -80,6 +80,10 @@ cd backend && python run.py # Starts on port 5137
| 2026-03-23 | Fix naive vs aware datetime crash + stuck AI mode |
## Sessions
### 2026-04-24 Check if the codebase has user
**Asked:** Check if the codebase has user management and token cost tracking by project/user, and create an implementation plan if missing.
**Done:** Analyzed codebase structure and identified missing token cost tracking; created implementation plan requiring cost configuration for supported models.
### 2026-04-24 Check for user management and token
**Asked:** Check for user management and token usage/cost tracking system, create implementation plan if missing.
**Done:** Confirmed three recording hooks are integrated and identified missing token cost tracking system requiring implementation plan with model pricing details.
@ -95,6 +99,7 @@ cd backend && python run.py # Starts on port 5137
## Change Log
| Date | Requested | Changed | Files |
|------|-----------|---------|-------|
| 2026-04-24 | Token cost tracking | Add cost config per model, create Usage and Project models, add cost calculation to LLM service | models.py, llm_service.py, CLAUDE.md |
| 2026-04-24 | Token cost tracking system | Add tiktoken dependency, create user management module, implement cost tracking by project and user | requirements.txt, CLAUDE.md |
| 2026-04-24 | CLAUDE.md enhancement | Fixed wiki path, added npm run dev command, clarified ASGI architecture and async Motor/PyMongo distinction | CLAUDE.md |
| 2026-03-23 | Fix AI mode hanging on GCP | WebSocket → HTTP polling for all LLM routes | backend |

View file

@ -296,3 +296,6 @@ tags: [daily]
- 17:47 | `semblance`
- **Asked:** Check for user management and token usage/cost tracking system, create implementation plan if missing.
- **Done:** Confirmed three recording hooks are integrated and identified missing token cost tracking system requiring implementation plan with model pricing details.
- 17:58 (6min) | `semblance`
- **Asked:** Check if the codebase has user management and token cost tracking by project/user, and create an implementation plan if missing.
- **Done:** Analyzed codebase structure and identified missing token cost tracking; created implementation plan requiring cost configuration for supported models.