mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
update tongyi define
This commit is contained in:
@@ -31,10 +31,10 @@ provider_credential_schema:
|
||||
en_US: Enter your API Key
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.baichuan-ai.com/v1
|
||||
en_US: https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.baichuan-ai.com/v1
|
||||
address: https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
@@ -596,9 +596,9 @@ func (i *imlMonitorStatisticModule) TopAPIStatistics(ctx context.Context, limit
|
||||
} else {
|
||||
statisticItem.IsRed = true
|
||||
if key == "-" {
|
||||
statisticItem.Name = "无API"
|
||||
statisticItem.Name = "Unknown API"
|
||||
} else {
|
||||
statisticItem.Name = fmt.Sprintf("未知API-%s", key)
|
||||
statisticItem.Name = fmt.Sprintf("Unknow-%s", key)
|
||||
}
|
||||
}
|
||||
result = append(result, statisticItem)
|
||||
|
||||
Reference in New Issue
Block a user