@@ -6246,10 +6246,8 @@ func getWorkflowSuggestionAIResponse(ctx context.Context, resp http.ResponseWrit
62466246// Todo:
62476247func getSupportSuggestionAIResponse (ctx context.Context , resp http.ResponseWriter , user User , org Org , outputFormat string , input QueryInput ) {
62486248 log .Printf ("[INFO] Getting support suggestion for query: %s for org: %s" , input .Query , org .Id )
6249-
62506249 // reply := runSupportRequest(ctx, input)
62516250 reply , threadId , err := runSupportLLMAssistant (ctx , input )
6252-
62536251 if err != nil {
62546252 log .Printf ("[ERROR] Failed to run support LLM assistant: %s" , err )
62556253 resp .WriteHeader (501 )
@@ -10526,7 +10524,7 @@ func runSupportLLMAssistant(ctx context.Context, input QueryInput) (string, stri
1052610524 isValidThread = true
1052710525 value := []byte (input .OrgId )
1052810526 // Refresh the cache TTL
10529- _ = SetCache (ctx , cacheKey , value , 60 )
10527+ _ = SetCache (ctx , cacheKey , value , 1440 )
1053010528
1053110529 }
1053210530 }
@@ -10555,7 +10553,7 @@ func runSupportLLMAssistant(ctx context.Context, input QueryInput) (string, stri
1055510553 value := []byte (input .OrgId )
1055610554
1055710555 // Cache the thread ID for future use
10558- _ = SetCache (ctx , cacheKey , value , 60 )
10556+ _ = SetCache (ctx , cacheKey , value , 1440 )
1055910557 }
1056010558
1056110559 instructions := `
0 commit comments