Browse Source

fix: Error processing trace tasks (#23170)

tags/1.7.2
Will 3 months ago
parent
commit
4e2129d74f
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      api/core/ops/ops_trace_manager.py

+ 1
- 2
api/core/ops/ops_trace_manager.py View File

def __init__( def __init__(
self, self,
trace_type: Any, trace_type: Any,
trace_id: Optional[str] = None,
message_id: Optional[str] = None, message_id: Optional[str] = None,
workflow_execution: Optional[WorkflowExecution] = None, workflow_execution: Optional[WorkflowExecution] = None,
conversation_id: Optional[str] = None, conversation_id: Optional[str] = None,
self.timer = timer self.timer = timer
self.file_base_url = os.getenv("FILES_URL", "http://127.0.0.1:5001") self.file_base_url = os.getenv("FILES_URL", "http://127.0.0.1:5001")
self.app_id = None self.app_id = None
self.trace_id = None
self.kwargs = kwargs self.kwargs = kwargs
external_trace_id = kwargs.get("external_trace_id") external_trace_id = kwargs.get("external_trace_id")
if external_trace_id: if external_trace_id:

Loading…
Cancel
Save