Skip to content

fix: do not crash when config file is not writeable#463

Open
GaetanLepage wants to merge 1 commit intomistralai:mainfrom
GaetanLepage:ro-config
Open

fix: do not crash when config file is not writeable#463
GaetanLepage wants to merge 1 commit intomistralai:mainfrom
GaetanLepage:ro-config

Conversation

@GaetanLepage
Copy link
Copy Markdown

When doing any config change directly from vibe (e.g. changing the active_model), it will try to update the config file accordingly (~/.vibe/config.toml).
If the config file is not writeable, the program hard crashes with:

PermissionError: [Errno 13] Permission denied: '/Users/gaetan/.vibe/config.toml'

This PR adds a graceful handling of such situations by simply logging the incident, but do not halt execution.

@GaetanLepage GaetanLepage requested a review from a team as a code owner March 6, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant