mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
### What problem does this PR solve? Fix commit override from https://github.com/infiniflow/ragflow/pull/14298/ of `api-key` to `api_key` ### Type of change - [x] Refactoring
This commit is contained in:
@@ -22,7 +22,7 @@ from configs import HOST_ADDRESS, VERSION
|
||||
|
||||
CONNECTOR_BASE_URL = f"{HOST_ADDRESS}/api/{VERSION}/connectors"
|
||||
LLM_API_KEY_URL = f"{HOST_ADDRESS}/{VERSION}/llm/set_api_key"
|
||||
LANGFUSE_API_KEY_URL = f"{HOST_ADDRESS}/{VERSION}/langfuse/api_key"
|
||||
LANGFUSE_API_KEY_URL = f"{HOST_ADDRESS}/api/{VERSION}/langfuse/api-key"
|
||||
|
||||
pytestmark = pytest.mark.p3
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@ export default {
|
||||
createSystemToken: `${restAPIv1}/system/tokens`,
|
||||
removeSystemToken: `${restAPIv1}/system/tokens`,
|
||||
getSystemConfig: `${restAPIv1}/system/config`,
|
||||
setLangfuseConfig: `${restAPIv1}/langfuse/api_key`,
|
||||
setLangfuseConfig: `${restAPIv1}/langfuse/api-key`,
|
||||
|
||||
// flow
|
||||
listTemplates: `${webAPI}/canvas/templates`,
|
||||
|
||||
Reference in New Issue
Block a user