runtimeModelStatePath returns ~/.chatcli/runtime_model.json (same state dir the gateway pidfile/log live in, so the daemon and REPL agree on location).
()
| 43 | // runtimeModelStatePath returns ~/.chatcli/runtime_model.json (same state dir |
| 44 | // the gateway pidfile/log live in, so the daemon and REPL agree on location). |
| 45 | func runtimeModelStatePath() string { |
| 46 | return gatewayStatePath("runtime_model.json") |
| 47 | } |
| 48 | |
| 49 | // writeRuntimeModelState records the current provider/model so a detached |
| 50 | // gateway daemon mirrors the REPL's live choice. Called only from the |
no test coverage detected