mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-21 14:26:30 +00:00
fix test
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user