Commit 2f13043
fix(browser-agent): Handle None values for llm_provider and llm_model
When command has explicit null values for llm_provider or llm_model,
the executor would crash with AttributeError on NoneType.lower().
Now uses defaults ("openai" and "gpt-4o-mini") when None is passed.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent abe609e commit 2f13043
2 files changed
Lines changed: 4 additions & 3 deletions
File tree
- lambda/tools/local-browser-agent
- python
- src-tauri
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments