mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-14 00:48:26 +08:00
fix: rename ark_api_key to api_key for volcengine provider config (#15896)
### What problem does this PR solve? fix: rename ark_api_key to api_key for volcengine provider config ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -167,17 +167,15 @@ export const ProviderConfigMap: Record<string, ProviderConfig> = {
|
||||
},
|
||||
],
|
||||
verifyTransform: (values) => ({
|
||||
apiKey: {
|
||||
ark_api_key: values.api_key,
|
||||
endpoint_id: values.endpoint_id,
|
||||
},
|
||||
apiKey: values.api_key,
|
||||
endpoint_id: values.endpoint_id,
|
||||
modelInfo: buildModelInfoFromValues(values),
|
||||
}),
|
||||
submitTransform: (values) => ({
|
||||
instance_name: values.instance_name,
|
||||
llm_factory: LLMFactory.VolcEngine,
|
||||
endpoint_id: values.endpoint_id,
|
||||
ark_api_key: values.api_key,
|
||||
api_key: values.api_key,
|
||||
model_info: buildModelInfoFromValues(values),
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user