Skip to content

Commit f203879

Browse files
authored
Merge pull request #38 from TogetherCrew/feat/34-aqc-reasoning
fix: missing workflow_id!
2 parents 31ffd87 + b464da6 commit f203879

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)