Browse Source

fix(pattern): update workflow URL to production endpoint

- Changed the workflow URL in the _trigger_pattern_workflow function to point to the production server for pattern processing.
jihuaqiang 1 month ago
parent
commit
84e19d1a5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tasks/pattern.py

+ 1 - 1
tasks/pattern.py

@@ -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