structured debug prompt
This commit is contained in:
parent
1ca386aa9e
commit
3d6f48507a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue