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
3d6f4850
"docs/source/vscode:/vscode.git/clone" did not exist on "d585f86d94f07a3bc083e48c6534d93a409cbcb2"
Commit
3d6f4850
authored
Jan 31, 2024
by
Michael Yang
Browse files
structured debug prompt
parent
1ca386aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
server/routes.go
server/routes.go
+2
-2
No files found.
server/routes.go
View file @
3d6f4850
...
...
@@ -253,7 +253,7 @@ func GenerateHandler(c *gin.Context) {
prompt
=
rebuild
.
String
()
}
slog
.
Debug
(
fmt
.
Sprintf
(
"prompt
: %s
"
,
prompt
)
)
slog
.
Debug
(
"generate handler"
,
"prompt"
,
prompt
)
ch
:=
make
(
chan
any
)
var
generated
strings
.
Builder
...
...
@@ -1145,7 +1145,7 @@ func ChatHandler(c *gin.Context) {
return
}
slog
.
Debug
(
fmt
.
Sprintf
(
"prompt
: %s
"
,
prompt
)
)
slog
.
Debug
(
"chat handler"
,
"prompt"
,
prompt
)
ch
:=
make
(
chan
any
)
...
...
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