mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8083090414 | |||
| 77d0d9bfb8 | |||
| e434c7867f |
@@ -56,7 +56,7 @@ body:
|
||||
label: Environment
|
||||
description: Share your environment details. Reports without proper environment details will likely be closed.
|
||||
value: |
|
||||
- APINTO Dashboard version:
|
||||
- ApiPark version:
|
||||
- Operating system (run `uname -a`):
|
||||
validations:
|
||||
required: true
|
||||
@@ -89,7 +89,7 @@ provider_credential_schema:
|
||||
zh_Hans: 为了进行验证,请输入一个您可用的模型名称 (例如:amazon.titan-text-lite-v1)
|
||||
model_config:
|
||||
access_configuration_status: true
|
||||
access_configuration_demo: "{}"
|
||||
access_configuration_demo: "{\"region\":\"\",\"model\":\"\"}"
|
||||
address: https://bedrock-runtime.amazonaws.com
|
||||
sort: 4
|
||||
recommend: true
|
||||
@@ -29,12 +29,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
- variable: base_url
|
||||
- variable: dashscope_api_base
|
||||
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