Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
6a818b8a
Commit
6a818b8a
authored
Nov 10, 2025
by
Eva Ho
Browse files
clean up
parent
2aaf29ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
app/ui/ui.go
app/ui/ui.go
+0
-3
No files found.
app/ui/ui.go
View file @
6a818b8a
...
@@ -885,9 +885,6 @@ func (s *Server) chat(w http.ResponseWriter, r *http.Request) error {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment