修改应用测试连通性
This commit is contained in:
1 parent
bf5f735404
commit
964e4925c0
2 files changed
+1
-3
No files matched your search
@@ -29,8 +29,6 @@ AUTH_LOCAL_JWT_ISSUER=hxops-backend
|
||||
AUTH_LOCAL_JWT_AUDIENCE=hxops-frontend
|
||||
AUTH_LOCAL_JWT_EXPIRES_HOURS=12
|
||||
|
||||
DATABASE_URL=postgresql://postgres:@localhost:5432/hxops_db
|
||||
|
||||
# SiliconFlow API Configuration
|
||||
GJL_API_KEY=sk-umfzicwjcvwampzblqczckkqojiscyybtaljzbsvpdwdvxlu
|
||||
GJL_API_BASE=https://api.siliconflow.cn/v1
|
||||
|
||||
@@ -446,7 +446,7 @@ def test_agent(id):
|
||||
'tested_at': tested_at
|
||||
}), 400
|
||||
|
||||
request_url = DifyService.build_chat_messages_url(base_url)
|
||||
request_url = DifyService._build_chat_messages_url(base_url)
|
||||
payload = {
|
||||
'inputs': {},
|
||||
'query': '系统连通性测试,请简短回复OK。',
|
||||
|
||||
Reference in new issue
Block a user