dify/api/core/trigger/utils/endpoint.py

6 lines
169 B
Python

from configs import dify_config
def parse_endpoint_id(endpoint_id: str) -> str:
return f"{dify_config.CONSOLE_API_URL}/console/api/trigger/endpoint/{endpoint_id}"