Skip to content

Commit

Permalink
chore: confirm fix for restarting the fuego engine
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed Jun 10, 2024
1 parent 0e96657 commit 596b327
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xcode/FuegoTestApp/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ struct ContentView: View {
func stopEngine() async {
print("stopping AI")
await fuegoBridge?.stopEngine()
testCommandIndex = 0
fuegoBridge = nil
sentCommands = []
inputText = testCommands[0]
fuegoResponse = ""
fuegoError = ""
print("stopped AI")
}

Expand Down

0 comments on commit 596b327

Please sign in to comment.