UPDATE: Fix chatbot
All checks were successful
Build and Release / release (push) Successful in 1m34s

This commit is contained in:
2026-05-05 10:16:13 +07:00
parent a8f0597e59
commit de2e1cddf3
3 changed files with 69 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ func NewChatbotController(chatbotService services.ChatbotService) *ChatbotContro
// @Failure 500 {object} response.CommonResponse "Internal server error"
// @Router /chatbot/chat [post]
func (cx *ChatbotController) Chat(c fiber.Ctx) error {
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 120*time.Second)
defer cancel()
dto := &request.ChatbotDto{}