pingMsg carries a backend-reachability result. baseURL is the URL probed; Update drops the message when it no longer matches the live client's URL, else a stale ping from the prior profile (a mid-flight /models switch) would overwrite connected state with the wrong endpoint's reachability.
| 348 | // off (the default) means New behaves exactly as before. |
| 349 | if dbgEnabled() { |
| 350 | dbgWriteSession(version, cfg.Active, cfg.ActiveProfile().LLM, cfg.ActiveURL(), |
| 351 | m.activeContextSize(), chmctx.Tokens(m.system), |
| 352 | []string{tools.BashName, tools.ReadFileName, tools.WriteFileName, tools.EditFileName}) |
| 353 | } |
| 354 | // Seed prompt history from .codehamr/history so ↑ recalls prompts from |
| 355 | // earlier sessions. Loaded entries carry no chip metadata (the on-disk |
| 356 | // format stores expanded text only), so a recalled multi-line paste |
nothing calls this directly
no outgoing calls
no test coverage detected