feat: Add JWT_SECRET configuration to .env.example and enhance pagination validation in chunk handler

This commit is contained in:
wizardchen
2025-11-26 17:58:31 +08:00
parent b4ae609103
commit d41f8afe55
5 changed files with 37 additions and 8 deletions
+2 -1
View File
@@ -123,7 +123,8 @@ func (h *Handler) KnowledgeQA(c *gin.Context) {
// Use shared function to handle KnowledgeQA request
h.handleKnowledgeQARequest(ctx, c, session, secutils.SanitizeForLog(request.Query),
knowledgeBaseIDs, assistantMessage, true, secutils.SanitizeForLog(request.SummaryModelID), request.WebSearchEnabled)
secutils.SanitizeForLogArray(knowledgeBaseIDs),
assistantMessage, true, secutils.SanitizeForLog(request.SummaryModelID), request.WebSearchEnabled)
}
// AgentQA handles agent-based question answering with conversation history and streaming