Skip to content

Commit b464da6

Browse files
committed
fix: missing workflow_id!
1 parent 2798d7f commit b464da6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/hivemind/query_data_sources.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ async def query(self, query: str) -> str | None:
3535
community_id=self.community_id,
3636
query=query,
3737
enable_answer_skipping=self.enable_answer_skipping,
38+
workflow_id=self.workflow_id,
3839
)
3940

4041
# Add workflow_id to payload if available
@@ -45,7 +46,7 @@ async def query(self, query: str) -> str | None:
4546
result = await client.execute_workflow(
4647
"HivemindWorkflow",
4748
payload,
48-
id=f"hivemind-query-{self.community_id}-{uuid1()}",
49+
id=f"hivemind-query-{self.community_id}-{self.workflow_id}",
4950
task_queue=hivemind_queue,
5051
)
5152

0 commit comments

Comments
 (0)