Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

423 B
Raw Blame
"""Durable application trace delivery routed by ``OPS_TRACE_QUEUE``."""

from celery import shared_task

from extensions.ext_application_services import application_services


@shared_task
def export_application_trace(run_id: str) -> None:
    application_services().tracing.agent_traces.deliver(run_id)


@shared_task
def reconcile_application_traces() -> None:
    application_services().tracing.agent_traces.reconcile()