fix test
This commit is contained in:
parent
6a818b8a09
commit
9d615cdaa0
|
|
@ -790,7 +790,7 @@ func (s *Server) chat(w http.ResponseWriter, r *http.Request) error {
|
||||||
case string:
|
case string:
|
||||||
thinkRequested = v != "" && v != "none"
|
thinkRequested = v != "" && v != "none"
|
||||||
}
|
}
|
||||||
|
|
||||||
if thinkRequested && !think {
|
if thinkRequested && !think {
|
||||||
errorEvent := responses.ErrorEvent{
|
errorEvent := responses.ErrorEvent{
|
||||||
EventName: "error",
|
EventName: "error",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue