mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
Merge pull request #242 from APIParkLab/feature/1.6-liujian
Feature/1.6 liujian
This commit is contained in:
@@ -31,12 +31,12 @@ provider_credential_schema:
|
||||
en_US: Enter your API Key
|
||||
- variable: anthropic_api_url
|
||||
label:
|
||||
en_US: API URL
|
||||
en_US: https://api.anthropic.com/v1/
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API URL
|
||||
en_US: Enter your API URL
|
||||
address: https://api.anthropic.com
|
||||
address: https://api.anthropic.com/v1/
|
||||
recommend: true
|
||||
sort: 2
|
||||
@@ -27,4 +27,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.baichuan-ai.com
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.baichuan-ai.com/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.baichuan-ai.com/v1
|
||||
|
||||
@@ -21,7 +21,7 @@ configurate_methods:
|
||||
- customizable-model
|
||||
provider_credential_schema:
|
||||
credential_form_schemas:
|
||||
- variable: dashscope_api_key
|
||||
- variable: api_key
|
||||
label:
|
||||
en_US: API Key
|
||||
type: secret-input
|
||||
@@ -29,4 +29,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://dashscope.aliyuncs.com
|
||||
- variable: base_url
|
||||
label:
|
||||
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://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
@@ -18,12 +18,20 @@ configurate_methods:
|
||||
- predefined-model
|
||||
provider_credential_schema:
|
||||
credential_form_schemas:
|
||||
- variable: api_base
|
||||
- variable: api_key
|
||||
label:
|
||||
en_US: API URL
|
||||
type: text-input
|
||||
en_US: API Key
|
||||
type: secret-input
|
||||
required: true
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://open.bigmodel.cn/api/paas/v4/
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API URL
|
||||
en_US: Enter your API URL
|
||||
address: https://api.openai.com
|
||||
address: https://open.bigmodel.cn/api/paas/v4/
|
||||
@@ -32,4 +32,12 @@ provider_credential_schema:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
show_on: [ ]
|
||||
address: https://api.cohere.com
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.cohere.ai/compatibility/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.cohere.ai/compatibility/v1
|
||||
@@ -30,4 +30,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.deepseek.com
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.deepseek.com/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.deepseek.com/v1
|
||||
@@ -28,4 +28,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.fireworks.ai
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://generativelanguage.googleapis.com/v1beta/openai
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.fireworks.ai/inference/v1
|
||||
@@ -32,12 +32,12 @@ provider_credential_schema:
|
||||
- variable: google_api_base
|
||||
label:
|
||||
zh_Hans: API Base
|
||||
en_US: API Base
|
||||
en_US: https://generativelanguage.googleapis.com/v1beta/openai
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Base, 如:https://api.google.com
|
||||
en_US: Enter your API Base, e.g. https://api.google.com
|
||||
address: https://generativelanguage.googleapis.com
|
||||
address: https://generativelanguage.googleapis.com/v1beta/openai
|
||||
recommend: true
|
||||
sort: 3
|
||||
@@ -30,4 +30,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.groq.com
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://router.huggingface.co/hf-inference/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.groq.com/openai/v1
|
||||
@@ -100,4 +100,22 @@ model_credential_schema:
|
||||
show_on:
|
||||
- variable: huggingfacehub_api_type
|
||||
value: inference_endpoints
|
||||
address: https://api-inference.huggingface.co
|
||||
provider_credential_schema:
|
||||
credential_form_schemas:
|
||||
- variable: api_key
|
||||
label:
|
||||
en_US: API Key
|
||||
type: secret-input
|
||||
required: true
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://router.huggingface.co/hf-inference/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://router.huggingface.co/hf-inference/v1
|
||||
@@ -23,20 +23,36 @@ configurate_methods:
|
||||
- predefined-model
|
||||
provider_credential_schema:
|
||||
credential_form_schemas:
|
||||
- variable: secret_id
|
||||
# - variable: secret_id
|
||||
# label:
|
||||
# en_US: Secret ID
|
||||
# type: secret-input
|
||||
# required: true
|
||||
# placeholder:
|
||||
# zh_Hans: 在此输入您的 Secret ID
|
||||
# en_US: Enter your Secret ID
|
||||
# - variable: secret_key
|
||||
# label:
|
||||
# en_US: Secret Key
|
||||
# type: secret-input
|
||||
# required: true
|
||||
# placeholder:
|
||||
# zh_Hans: 在此输入您的 Secret Key
|
||||
# en_US: Enter your Secret Key
|
||||
- variable: api_key
|
||||
label:
|
||||
en_US: Secret ID
|
||||
en_US: API Key
|
||||
type: secret-input
|
||||
required: true
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Secret ID
|
||||
en_US: Enter your Secret ID
|
||||
- variable: secret_key
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: Secret Key
|
||||
type: secret-input
|
||||
required: true
|
||||
en_US: https://api.hunyuan.cloud.tencent.com/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Secret Key
|
||||
en_US: Enter your Secret Key
|
||||
address: https://hunyuan.tencentcloudapi.com
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.hunyuan.cloud.tencent.com/v1
|
||||
@@ -96,4 +96,14 @@ model_credential_schema:
|
||||
label:
|
||||
en_US: 'No'
|
||||
zh_Hans: 否
|
||||
provider_credential_schema:
|
||||
credential_form_schemas:
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://lmstudio.ai
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://lmstudio.ai
|
||||
|
||||
@@ -27,6 +27,14 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.minimax.chat
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.minimax.chat/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.minimax.chat/v1
|
||||
recommend: true
|
||||
sort: 5
|
||||
@@ -29,4 +29,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.mistral.ai
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.mistral.ai
|
||||
@@ -31,6 +31,14 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.moonshot.cn
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.moonshot.cn/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.moonshot.cn/v1
|
||||
recommend: true
|
||||
sort: 6
|
||||
@@ -29,4 +29,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.novita.ai
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.novita.ai/v3/openai
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.novita.ai/v3/openai
|
||||
@@ -31,4 +31,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://integrate.api.nvidia.com
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://integrate.api.nvidia.com
|
||||
@@ -78,6 +78,6 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Base, 如:https://api.openai.com
|
||||
en_US: Enter your API Base, e.g. https://api.openai.com
|
||||
address: https://api.openai.com
|
||||
address: https://api.openai.com/v1
|
||||
recommend: true
|
||||
sort: 1
|
||||
@@ -103,4 +103,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://openrouter.ai
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://openrouter.ai/api/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://openrouter.ai/api/v1
|
||||
@@ -31,4 +31,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://cloud.perfxlab.cn
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://perfxcloud.io/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://perfxcloud.io/v1
|
||||
@@ -30,4 +30,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.openai.com
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://perfxcloud.io/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.siliconflow.cn/v1
|
||||
@@ -28,5 +28,4 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 APIPassword
|
||||
en_US: Enter your APIPassword
|
||||
|
||||
address: https://spark-api-open.xf-yun.com
|
||||
@@ -31,6 +31,14 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.stepfun.com/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
model_credential_schema:
|
||||
model:
|
||||
label:
|
||||
@@ -79,4 +87,4 @@ model_credential_schema:
|
||||
label:
|
||||
en_US: Tool Call
|
||||
zh_Hans: Tool Call
|
||||
address: https://api.stepfun.com
|
||||
address: https://api.stepfun.com/v1
|
||||
@@ -29,4 +29,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://dashscope.aliyuncs.com
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.baichuan-ai.com/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.baichuan-ai.com/v1
|
||||
@@ -47,4 +47,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.upstage.ai
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.upstage.ai/v1/solar
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.upstage.ai/v1/solar
|
||||
@@ -349,7 +349,7 @@ provider_credential_schema:
|
||||
en_US: Enter your APIKey
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: Base URL
|
||||
en_US: https://ark.cn-beijing.volces.com/api/v3
|
||||
required: true
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base url
|
||||
|
||||
@@ -30,14 +30,14 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
- variable: secret_key
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: Secret Key
|
||||
type: secret-input
|
||||
required: true
|
||||
en_US: https://qianfan.baidubce.com/v2
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Secret Key
|
||||
en_US: Enter your Secret Key
|
||||
address: https://aip.baidubce.com
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://qianfan.baidubce.com/v2
|
||||
recommend: true
|
||||
sort: 7
|
||||
@@ -76,4 +76,14 @@ model_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入调用重试次数
|
||||
en_US: Enter max retries
|
||||
provider_credential_schema:
|
||||
credential_form_schemas:
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: Base URL
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://xinference.ai
|
||||
@@ -30,4 +30,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
address: https://api.lingyiwanwu.com
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: https://api.lingyiwanwu.com/v1
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.lingyiwanwu.com/v1
|
||||
@@ -30,4 +30,12 @@ provider_credential_schema:
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 API Key
|
||||
en_US: Enter your API Key
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: Base URL
|
||||
type: text-input
|
||||
required: false
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base URL
|
||||
en_US: Enter your Base URL
|
||||
address: https://api.360.cn
|
||||
@@ -31,9 +31,9 @@ provider_credential_schema:
|
||||
en_US: Enter your APIKey
|
||||
- variable: base_url
|
||||
label:
|
||||
en_US: Base URL
|
||||
en_US: https://open.bigmodel.cn/api/paas/v4/
|
||||
required: true
|
||||
placeholder:
|
||||
zh_Hans: 在此输入您的 Base url
|
||||
en_US: Enter your Base url
|
||||
address: https://open.bigmodel.cn
|
||||
address: https://open.bigmodel.cn/api/paas/v4/
|
||||
Reference in New Issue
Block a user