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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
allow custom base_url of dify api server (#6510)
Jian Yu5b89b6fe2d90
diff --git a/sdks/python-client/dify_client/client.py b/sdks/python-client/dify_client/client.pyindex 53880c10004..22d4e6189a5 100644--- a/sdks/python-client/dify_client/client.py+++ b/sdks/python-client/dify_client/client.py@@ -2,9 +2,9 @@ import requestsclass DifyClient:- def __init__(self, api_key):+ def __init__(self, api_key, base_url: str = 'https://api.dify.ai/v1'):self.api_key = api_key- self.base_url = "https://api.dify.ai/v1"+ self.base_url = base_urldef _send_request(self, method, endpoint, json=None, params=None, stream=False):headers = {