Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Oct 26, 2023
1 parent 8c7fcb8 commit a45c20e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/tui/ui_conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ func SetConfig(cfg *config.Config, values map[string]string) {
if values[apiKey] != "" {
cfg.OpenAI.ApiKey = values[apiKey]
}
if values[gptModel] != "" {
cfg.OpenAI.Model = values[gptModel]
}
if values[proxy] != "" {
cfg.OpenAI.Proxy = values[proxy]
}
Expand Down

0 comments on commit a45c20e

Please sign in to comment.