Part of the Agent migration epic — the final cutover (roadmap milestone: end of July, "gemini_service retired as primary LLM seam"). Owner: Jack.
Goal
Once all feature surfaces are migrated (the issues above), deprecate and remove the raw Gemini helpers.
Scope
- Remove
call_gemini, call_gemini_json, call_gemini_multiturn (and MODEL_LITE/MODEL_SMART constants) from backend/services/gemini_service.py, or reduce the file to the shared provider only. - Retire the legacy chat fallback last:
learn.py:417,538,847 (_legacy_chat + action path) — kept intentionally per ADR 0001; this issue is where that ADR is revisited and the fallback removed once the agent path is proven in production. - Update/remove
backend/tests/test_gemini_service.py accordingly.
Acceptance
- No production code imports
services.gemini_service helpers. python -m pytest backend/tests/ -q green.- A short decision record in
docs/decisions/ recording the retirement.
Part of the Agent migration epic — the final cutover (roadmap milestone: end of July, "gemini_service retired as primary LLM seam"). Owner: Jack.
Goal
Once all feature surfaces are migrated (the issues above), deprecate and remove the raw Gemini helpers.
Scope
call_gemini,call_gemini_json,call_gemini_multiturn(andMODEL_LITE/MODEL_SMARTconstants) frombackend/services/gemini_service.py, or reduce the file to the shared provider only.learn.py:417,538,847(_legacy_chat+ action path) — kept intentionally per ADR 0001; this issue is where that ADR is revisited and the fallback removed once the agent path is proven in production.backend/tests/test_gemini_service.pyaccordingly.Acceptance
services.gemini_servicehelpers.python -m pytest backend/tests/ -qgreen.docs/decisions/recording the retirement.