Skip to content

Commit cb1c626

Browse files
committed
added updating models list
1 parent fa600cc commit cb1c626

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/tui/internal/components/llm_config_dialog.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ type SelectableItem struct {
280280
IsSelectable bool
281281
}
282282

283-
284283
// modelsForProvider returns dynamic models for a provider if available, otherwise the fallback list.
285284
func modelsForProvider(provider string, dynamic map[string][]string, fallback []string) []string {
286285
if dynamic != nil {
@@ -1489,7 +1488,7 @@ func (d LLMConfigDialog) renderProviderSelection(t theme.Theme) []string {
14891488

14901489
// Show search bar
14911490
searchBoxStyle := lipgloss.NewStyle().
1492-
Width(d.Width - 6).
1491+
Width(d.Width-6).
14931492
Border(lipgloss.RoundedBorder()).
14941493
Background(t.BackgroundPanel()).
14951494
Padding(0, 1)

packages/tui/internal/tui/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ type AgentConfig struct {
4343
JudgeLLMAWSAccessKeyID string `json:"judge_llm_aws_access_key_id,omitempty"`
4444
JudgeLLMAWSSecretAccessKey string `json:"judge_llm_aws_secret_access_key,omitempty"`
4545
JudgeLLMAWSRegion string `json:"judge_llm_aws_region,omitempty"`
46-
JudgeLLMAPIBase string `json:"judge_llm_api_base,omitempty"`
47-
JudgeLLMAPIVersion string `json:"judge_llm_api_version,omitempty"`
46+
JudgeLLMAPIBase string `json:"judge_llm_api_base,omitempty"`
47+
JudgeLLMAPIVersion string `json:"judge_llm_api_version,omitempty"`
4848
InterviewMode bool `json:"interview_mode"`
4949
DeepTestMode bool `json:"deep_test_mode"`
5050
ParallelRuns int `json:"parallel_runs"`

0 commit comments

Comments
 (0)