Skip to content

fix: prevent config form select crash on invalid saved values#48

Open
saschabuehrle wants to merge 1 commit into
yusufcanb:mainfrom
saschabuehrle:fix/issue-41-config-form-default-option
Open

fix: prevent config form select crash on invalid saved values#48
saschabuehrle wants to merge 1 commit into
yusufcanb:mainfrom
saschabuehrle:fix/issue-41-config-form-default-option

fix: normalize config form defaults to avoid select panic (fixes #41)

b67d6a0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 10, 2026 in 21s

Annotations

Check failure on line 7 in pkg/config/form_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "qwen2.5" 4 times.

See more on https://sonarcloud.io/project/issues?id=yusufcanb_tlm&issues=AZ12jlLn8xinLLaxbCR4&open=AZ12jlLn8xinLLaxbCR4&pullRequest=48