mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-21 22:33:56 +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:
|
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",
|
||||||
|
|||||||
Reference in New Issue
Block a user