calm-artist-7206
03/15/2026, 1:47 PMbase url (so it will fail)
• in advanced view, I delete base url -> Save -> base url is back! 😅 (so it will fail)
• it doesn't seem possible to empty out an old base url ?calm-artist-7206
03/16/2026, 5:46 PMnutritious-balloon-65098
03/16/2026, 5:47 PMnutritious-balloon-65098
03/16/2026, 5:51 PMllm_base_url: "" when the user clears Base URL or saves from Basic view
- the backend treats "" like a missing value and auto-fills a computed default URL
- this makes it impossible to persist an intentionally empty Base URL
- Confirmed this is reinforced by an existing backend test that currently expects llm_base_url="" to become <https://api.openai.com>
- Opened a GitHub issue documenting the bug, reproduction steps, suspected cause, and suggested fix direction:
- #13420 — https://github.com/OpenHands/OpenHands/issues/13420
Status checklist:
- [x] Investigated the reported behavior
- [x] Identified a likely cause
- [x] Created an issue on GitHub
- [x] Included links to the related PR context
- [x] Kept work scoped to investigation + issue creation
Code changes:
- No local code changes were made
- Nothing to push or open as a PR from this session
Bottom line:
The remaining bug appears to be that the backend does not distinguish:
- None = field omitted
- "" = explicitly cleared by user
That mismatch is why the UI keeps bringing Base URL back.