hermes
48c8efb2fb
Tests / lint (push) Successful in 2s
Tests / test (push) Failing after 1m10s
[loop-cycle-40] fix: use get_system_prompt() in cloud backends (#135) (#138)
## What
Cloud backends (Grok, Claude, AirLLM) were importing SYSTEM_PROMPT directly, which is always SYSTEM_PROMPT_LITE and contains unformatted {model_name} and {session_id} placeholders.
## Changes
- backends.py: Replace `from timmy.prompts import SYSTEM_PROMPT` with `from timmy.prompts import get_system_prompt`
- AirLLM: uses `get_system_prompt(tools_enabled=False, session_id="airllm")` (LITE tier, correct)
- Grok: uses `get_system_prompt(tools_enabled=True, session_id="grok")` (FULL tier)
- Claude: uses `get_system_prompt(tools_enabled=True, session_id="claude")` (FULL tier)
- 9 new tests verify formatted model names, correct tier selection, and session_id formatting
## Tests
1508 passed, 0 failed (41 new tests this cycle)
Fixes #135
Co-authored-by: Kimi Agent <kimi@timmy.local>
Reviewed-on: http://localhost:3000/rockachopa/Timmy-time-dashboard/pulls/138
Reviewed-by: rockachopa <alexpaynex@gmail.com>
Co-authored-by: hermes <hermes@timmy.local>
Co-committed-by: hermes <hermes@timmy.local>
2026-03-15 09:44:43 -04:00
..
2026-03-15 08:20:00 -04:00
2026-03-15 09:42:57 -04:00
2026-03-08 12:50:44 -04:00
2026-03-11 16:55:27 -04:00
2026-03-14 16:01:05 -04:00
2026-03-14 18:13:51 -04:00
2026-03-11 16:55:27 -04:00
2026-03-14 20:04:18 -04:00
2026-03-15 09:44:43 -04:00
2026-03-08 12:50:44 -04:00
2026-02-19 19:05:01 +00:00
2026-03-08 12:50:44 -04:00
2026-03-14 16:09:26 -04:00
2026-03-14 20:55:52 -04:00
2026-03-08 12:50:44 -04:00
2026-03-14 19:22:21 -04:00
2026-03-11 12:23:35 -04:00
2026-03-14 20:40:19 -04:00
2026-03-14 09:49:24 -04:00