- Changed the workflow URL in the _trigger_pattern_workflow function to point to the production server for pattern processing.
@@ -109,7 +109,7 @@ def _save_pattern_contents(task_id: str, pattern_name: str, contents: List[Conte
def _trigger_pattern_workflow(task_id: str) -> Dict[str, Any]:
"""发起真正的聚类请求,只携带 task_id"""
try:
- url = "http://localhost:8100/pattern/workflow/topic/pattern"
+ url = "http://supply-content-deconstruction-workflow.piaoquantv.com/pattern/workflow/topic/pattern"
payload = {
"task_id": task_id