Explorar el Código

update update_at for use

peterguo hace 1 semana
padre
commit
8926b0c5dd
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      app/Services/LLM/DeepSeekService.php

+ 2 - 0
app/Services/LLM/DeepSeekService.php

@@ -120,6 +120,8 @@ class DeepSeekService
             ]);
         } else {
             $session = LlmSession::where('session_id', $sessionId)->firstOrFail();
+            $session->updated_at = now();
+            $session->save();
         }
 
         // 保存用户消息