Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
structured debug prompt
Michael Yang3d6f48507a3a
diff --git a/server/routes.go b/server/routes.goindex 01a898a8d..1a4726c13 100644--- a/server/routes.go+++ b/server/routes.go@@ -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)