Commit Graph

5 Commits (e0d0e5b8a2d2ea3824ade6d1318c236076f73698)

Author SHA1 Message Date
Talha Ahmed 06427a4f32 Run gpt-4o-mini in production and cut OpenAI spend without changing outputs
- .env.example documents the production model (gpt-4o-mini-2024-07-18) and a
  4000-token output cap; the model rejects caps above 16384 with a 400, which
  the old 32768 value triggered on every llm_call request.
- llm_setup: safe default cap and per-call token/cache usage logging.
- agent/prompt: job posts precede the resume so the stable block hits the
  prompt cache for every CV after the first in a sync run.
- inbox: On-Hold rescan pairs candidates with active jobs only; scores against
  closed roles were paid for and never shown.
- app: ruff formatting for the config/model edits from main, and an accurate
  comment on why gpt-4o-mini is admitted while the rest of gpt-4o is not.

Verified live on gpt-4o-mini: llm_call and the scorer both succeed, the
28-check scoring audit passes, ruff/mypy/pytest pass for app.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-09 15:58:07 +05:00
ahmed.mujtaba 79098aefd5 RESCAN IMPLEMENTED 2026-09-08 15:25:43 +05:00
Talha Ahmed e1bd8526f3 Talent tab: LinkedIn sourcing per job via Apify
New backend/talent/ module (runs + profiles tables, RBAC talent.* seed,
frontend-polled run lifecycle) and frontend Talent screen: job + location
pickers, paid-search confirm, big loader, ranked profile cards with match
ring, profile detail modal, show-10-then-more, next-page re-search.

Sourcing quality: current-title facet + skills-only keyword query,
experience-range facet, thin-result broadening ladder, Utopia Brands/Deals
current employees excluded actor-side and server-side, graded 0-100
relevance score (title phrase over keyword stuffing).

Also narrows the overbroad **_**_**.py gitignore rule to alembic versions;
it was silently swallowing app/tests __init__.py files, the engine smoke
script, and the new talent plugin tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-20 22:27:18 +05:00
Talha Ahmed 7e178d2d0f complete ATS with tetsting 2026-08-10 20:54:14 +05:00
Talha Ahmed bc0c9b1d31 Add bulk ATS scoring engine 2026-08-06 14:37:21 +05:00