|
@@ -452,7 +452,7 @@ class ToTextBotAgent:
|
|
|
once_start = time.time()
|
|
|
try:
|
|
|
try_count = try_count - 1
|
|
|
- response = session.post(url=url, json=json.loads(request_data), timeout=.8)
|
|
|
+ response = session.post(url=url, json=json.loads(request_data), timeout=3)
|
|
|
# response = requests.post(url=url, json=json.loads(request_data), headers=headers, timeout=10) # 使用占位URL
|
|
|
if response.status_code == 200:
|
|
|
response_data = response.json()
|