Skip to content

Commit

Permalink
fix: resume after OpenAI error
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Sep 12, 2023
1 parent aeb2902 commit acf56ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PlantUML/PlantUML+OpenAI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class OpenAIService : ObservableObject {
openAIKey = inputApiKey
openAIOrg = inputOrgId
// openAIModel = inputModel
status = .Ready
}

func resetSettings() {
Expand Down Expand Up @@ -486,6 +487,7 @@ extension OpenAIView {
service.commitSettings()
tabs = .Prompt
promptInFocus = true

},
label: {
Label( "Submit", systemImage: "arrow.right")
Expand Down

0 comments on commit acf56ab

Please sign in to comment.