diff --git a/app/ui/ui.go b/app/ui/ui.go index 631066e9..a05ecf0f 100644 --- a/app/ui/ui.go +++ b/app/ui/ui.go @@ -790,7 +790,7 @@ func (s *Server) chat(w http.ResponseWriter, r *http.Request) error { case string: thinkRequested = v != "" && v != "none" } - + if thinkRequested && !think { errorEvent := responses.ErrorEvent{ EventName: "error",