diff --git a/server/utils/agents/index.js b/server/utils/agents/index.js
index 7851deb7b53f76ac513732342e500364e1ba89b0..3352718bed614f00b3eb3e7f98c09f3c37d25ea3 100644
--- a/server/utils/agents/index.js
+++ b/server/utils/agents/index.js
@@ -35,7 +35,7 @@ class AgentHandler {
           {
             workspaceId: this.invocation.workspace_id,
             user_id: this.invocation.user_id || null,
-            thread_id: this.invocation.user_id || null,
+            thread_id: this.invocation.thread_id || null,
             include: true,
           },
           limit,