Skip to content

Commit 9617ddc

Browse files
authored
Merge pull request #271 from APIParkLab/feature/1.6-liujian
update tongyi,bedrock define
2 parents 60296bf + 8083090 commit 9617ddc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ai-provider/model-runtime/model-providers/bedrock/bedrock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ provider_credential_schema:
8989
zh_Hans: 为了进行验证,请输入一个您可用的模型名称 (例如:amazon.titan-text-lite-v1)
9090
model_config:
9191
access_configuration_status: true
92-
access_configuration_demo: "{}"
92+
access_configuration_demo: "{\"region\":\"\",\"model\":\"\"}"
9393
address: https://bedrock-runtime.amazonaws.com
9494
sort: 4
9595
recommend: true

ai-provider/model-runtime/model-providers/tongyi/tongyi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ provider_credential_schema:
2929
placeholder:
3030
zh_Hans: 在此输入您的 API Key
3131
en_US: Enter your API Key
32-
- variable: base_url
32+
- variable: dashscope_api_base
3333
label:
3434
en_US: https://dashscope.aliyuncs.com/compatible-mode/v1
3535
type: text-input

0 commit comments

Comments
 (0)