优化代码
This commit is contained in:
@@ -8,7 +8,7 @@ class DifyClient:
|
||||
self.api_key = api_key
|
||||
self.base_url = base_url
|
||||
|
||||
def _send_request(self, method, endpoint, json=None, params=None, stream=False, timeout=300):
|
||||
def _send_request(self, method, endpoint, json=None, params=None, stream=False, timeout=600):
|
||||
headers = {
|
||||
"Authorization": f"Bearer {self.api_key}",
|
||||
"Content-Type": "application/json",
|
||||
|
||||
Reference in New Issue
Block a user