mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
AI Layer: - llm_router.py: routes cheap/mid/high models, enforces daily budget, caches - token_counter.py: estimates tokens, truncates to budget - response_cache.py: in-memory cache with TTL per agent - prompt_registry.py: versioned prompts with stable prefix for caching - ai_budget.yaml: model costs, agent budgets, daily limits (10 SAR/day) Guardrails: - output_validator.py: blocks fake claims + prohibited actions - cost_guard.py: prevents runaway spending Observability: - trace.py: trace_id, cost, latency, steps per pipeline run Tests: ALL PASS - 30/30 evals (100%) — 9 sectors, 30 companies - 10/10 prohibited actions blocked - 4/4 allowed actions verified - 3/3 forbidden claims blocked - 3/3 message quality checks passed https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs |
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| dealix_gtm_os | ||
| knowledge_base | ||
| scripts | ||
| tests | ||
| .env.phase2.example | ||
| alembic.ini | ||
| campaign_results.json | ||
| Dockerfile | ||
| main.py | ||
| pyproject.toml | ||
| pytest.ini | ||
| railway.toml | ||
| README_DEPLOY.md | ||
| requirements-dev.txt | ||
| requirements.txt | ||
| seed_database.py | ||
| start.sh | ||
| update_requirements.py | ||