mirror of
https://github.com/likelovewant/ollama-for-amd.git
synced 2025-12-21 22:33:56 +00:00
clean up
This commit is contained in:
@@ -885,9 +885,6 @@ func (s *Server) chat(w http.ResponseWriter, r *http.Request) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Debug: Log what we're sending
|
|
||||||
s.log().Debug("sending chat request", "model", chatReq.Model, "think", chatReq.Think, "num_messages", len(chatReq.Messages))
|
|
||||||
|
|
||||||
err = c.Chat(ctx, chatReq, func(res api.ChatResponse) error {
|
err = c.Chat(ctx, chatReq, func(res api.ChatResponse) error {
|
||||||
if loading {
|
if loading {
|
||||||
// Remove the loading indicator on first token
|
// Remove the loading indicator on first token
|
||||||
|
|||||||
Reference in New Issue
Block a user