fd5661335f
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.