1 parent 444de28 commit 7a7064eCopy full SHA for 7a7064e
1 file changed
python_agent_harness/cli.py
@@ -41,6 +41,11 @@ def make_session(
41
settings = config.load_llm_config(config_path)
42
paths = config.load_paths_config(config_path)
43
mcp_config = config.load_mcp_config(config_path)
44
+ # Validate lsp.servers eagerly so a malformed override fails fast at
45
+ # session start (with a clear message) instead of poisoning the first
46
+ # LSP tool call mid-session. The LSP manager re-reads it lazily via
47
+ # config_path; this call only surfaces config errors early.
48
+ config.load_lsp_config(config_path)
49
model = model or settings["model"]
50
# resolve sub-agent overrides against the EFFECTIVE main settings
51
# (so a CLI/caller model override is inherited too when the
0 commit comments