Private
Public Access
0
0
Files
manual_slop/src
ed fd5661335f refactor(ai_client): migrate _llama_history call sites to provider_state.get_history('llama')
Phase 6 of code_path_audit_phase_3_provider_state_20260624. 16 sites across TWO llama functions migrated:
- _send_llama (8 sites): outer capture + 2 with history.lock blocks + 4 history.append/not/_history references + 2 kwargs (history_lock=history.lock, history=history)
- _send_llama_native (8 sites): outer capture + 2 with history.lock blocks + 4 history.append/not/messages.extend + 1 history.append(msg)

Both backend variants (OpenRouter + Ollama) share the same provider_state.get_history('llama') singleton.

Verified: 27 tests pass across test_provider_state_migration (14) + test_llama_provider (6) + test_llama_ollama_native (7).

Conventions: 1-space indentation, CRLF preserved, no comments added.
2026-06-25 12:41:08 -04:00
..
2026-06-06 10:24:22 -04:00
2026-06-07 01:08:31 -04:00
2026-06-06 10:24:22 -04:00
2026-06-06 10:24:22 -04:00
2026-06-06 10:24:22 -04:00
2026-06-06 10:24:22 -04:00
2026-06-06 10:24:22 -04:00
2026-06-06 10:24:22 -04:00
2026-06-06 11:08:07 -04:00
2026-06-06 11:08:07 -04:00