Skip to content

Commit 203c3e4

Browse files
authored
Merge pull request #266 from APIParkLab/feature/1.6-liujian
update tongyi define
2 parents f3059f8 + e434c78 commit 203c3e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ provider_credential_schema:
3131
en_US: Enter your API Key
3232
- variable: base_url
3333
label:
34-
en_US: https://api.baichuan-ai.com/v1
34+
en_US: https://dashscope.aliyuncs.com/compatible-mode/v1
3535
type: text-input
3636
required: false
3737
placeholder:
3838
zh_Hans: 在此输入您的 Base URL
3939
en_US: Enter your Base URL
40-
address: https://api.baichuan-ai.com/v1
40+
address: https://dashscope.aliyuncs.com/compatible-mode/v1

module/monitor/iml.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,9 @@ func (i *imlMonitorStatisticModule) TopAPIStatistics(ctx context.Context, limit
596596
} else {
597597
statisticItem.IsRed = true
598598
if key == "-" {
599-
statisticItem.Name = "无API"
599+
statisticItem.Name = "Unknown API"
600600
} else {
601-
statisticItem.Name = fmt.Sprintf("未知API-%s", key)
601+
statisticItem.Name = fmt.Sprintf("Unknow-%s", key)
602602
}
603603
}
604604
result = append(result, statisticItem)

0 commit comments

Comments
 (0)