feat: Add JWT_SECRET configuration to .env.example and enhance pagination validation in chunk handler
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user