diff --git a/ai-provider/model-runtime/model-providers/authropic/anthropic.yaml b/ai-provider/model-runtime/model-providers/authropic/anthropic.yaml index f44d3e18..7bcaf986 100644 --- a/ai-provider/model-runtime/model-providers/authropic/anthropic.yaml +++ b/ai-provider/model-runtime/model-providers/authropic/anthropic.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/baichuan/baichuan.yaml b/ai-provider/model-runtime/model-providers/baichuan/baichuan.yaml index dcadb657..da814abd 100644 --- a/ai-provider/model-runtime/model-providers/baichuan/baichuan.yaml +++ b/ai-provider/model-runtime/model-providers/baichuan/baichuan.yaml @@ -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 diff --git a/ai-provider/model-runtime/model-providers/bailian/bailian.yaml b/ai-provider/model-runtime/model-providers/bailian/bailian.yaml index 7456a7de..9b213760 100644 --- a/ai-provider/model-runtime/model-providers/bailian/bailian.yaml +++ b/ai-provider/model-runtime/model-providers/bailian/bailian.yaml @@ -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 \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/chatglm/chatglm.yaml b/ai-provider/model-runtime/model-providers/chatglm/chatglm.yaml index 715febcd..25ee59f2 100644 --- a/ai-provider/model-runtime/model-providers/chatglm/chatglm.yaml +++ b/ai-provider/model-runtime/model-providers/chatglm/chatglm.yaml @@ -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 \ No newline at end of file +address: https://open.bigmodel.cn/api/paas/v4/ \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/cohere/cohere.yaml b/ai-provider/model-runtime/model-providers/cohere/cohere.yaml index fa6e0556..27419ba1 100644 --- a/ai-provider/model-runtime/model-providers/cohere/cohere.yaml +++ b/ai-provider/model-runtime/model-providers/cohere/cohere.yaml @@ -32,4 +32,12 @@ provider_credential_schema: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key show_on: [ ] -address: https://api.cohere.com \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/deepseek/deepseek.yaml b/ai-provider/model-runtime/model-providers/deepseek/deepseek.yaml index 6e1bf082..1aebab42 100644 --- a/ai-provider/model-runtime/model-providers/deepseek/deepseek.yaml +++ b/ai-provider/model-runtime/model-providers/deepseek/deepseek.yaml @@ -30,4 +30,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://api.deepseek.com \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/fireworks/fireworks.yaml b/ai-provider/model-runtime/model-providers/fireworks/fireworks.yaml index be734ac4..c375b6f3 100644 --- a/ai-provider/model-runtime/model-providers/fireworks/fireworks.yaml +++ b/ai-provider/model-runtime/model-providers/fireworks/fireworks.yaml @@ -28,4 +28,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://api.fireworks.ai \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/google/google.yaml b/ai-provider/model-runtime/model-providers/google/google.yaml index e54c899f..afc731cf 100644 --- a/ai-provider/model-runtime/model-providers/google/google.yaml +++ b/ai-provider/model-runtime/model-providers/google/google.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/groq/groq.yaml b/ai-provider/model-runtime/model-providers/groq/groq.yaml index b2ce06f8..7fc5d275 100644 --- a/ai-provider/model-runtime/model-providers/groq/groq.yaml +++ b/ai-provider/model-runtime/model-providers/groq/groq.yaml @@ -30,4 +30,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://api.groq.com \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/huggingface_hub/huggingface_hub.yaml b/ai-provider/model-runtime/model-providers/huggingface_hub/huggingface_hub.yaml index e51e6081..8605c82c 100644 --- a/ai-provider/model-runtime/model-providers/huggingface_hub/huggingface_hub.yaml +++ b/ai-provider/model-runtime/model-providers/huggingface_hub/huggingface_hub.yaml @@ -100,4 +100,22 @@ model_credential_schema: show_on: - variable: huggingfacehub_api_type value: inference_endpoints -address: https://api-inference.huggingface.co \ No newline at end of file +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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/hunyuan/hunyuan.yaml b/ai-provider/model-runtime/model-providers/hunyuan/hunyuan.yaml index 4b87e243..51a068dd 100644 --- a/ai-provider/model-runtime/model-providers/hunyuan/hunyuan.yaml +++ b/ai-provider/model-runtime/model-providers/hunyuan/hunyuan.yaml @@ -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 \ No newline at end of file + zh_Hans: 在此输入您的 Base URL + en_US: Enter your Base URL +address: https://api.hunyuan.cloud.tencent.com/v1 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/lm_studio/lm_studio.yaml b/ai-provider/model-runtime/model-providers/lm_studio/lm_studio.yaml index 5e62cd11..1b3306bc 100644 --- a/ai-provider/model-runtime/model-providers/lm_studio/lm_studio.yaml +++ b/ai-provider/model-runtime/model-providers/lm_studio/lm_studio.yaml @@ -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 diff --git a/ai-provider/model-runtime/model-providers/minimax/minimax.yaml b/ai-provider/model-runtime/model-providers/minimax/minimax.yaml index d6d82e8a..981f2af5 100644 --- a/ai-provider/model-runtime/model-providers/minimax/minimax.yaml +++ b/ai-provider/model-runtime/model-providers/minimax/minimax.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/mistralai/mistralai.yaml b/ai-provider/model-runtime/model-providers/mistralai/mistralai.yaml index e00a4821..a9982657 100644 --- a/ai-provider/model-runtime/model-providers/mistralai/mistralai.yaml +++ b/ai-provider/model-runtime/model-providers/mistralai/mistralai.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/moonshot/moonshot.yaml b/ai-provider/model-runtime/model-providers/moonshot/moonshot.yaml index 406213b3..58786544 100644 --- a/ai-provider/model-runtime/model-providers/moonshot/moonshot.yaml +++ b/ai-provider/model-runtime/model-providers/moonshot/moonshot.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/novita/novita.yaml b/ai-provider/model-runtime/model-providers/novita/novita.yaml index 852c3422..fd126939 100644 --- a/ai-provider/model-runtime/model-providers/novita/novita.yaml +++ b/ai-provider/model-runtime/model-providers/novita/novita.yaml @@ -29,4 +29,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://api.novita.ai \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/nvidia/nvidia.yaml b/ai-provider/model-runtime/model-providers/nvidia/nvidia.yaml index c2038512..821c4f94 100644 --- a/ai-provider/model-runtime/model-providers/nvidia/nvidia.yaml +++ b/ai-provider/model-runtime/model-providers/nvidia/nvidia.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/openAI/openai.yaml b/ai-provider/model-runtime/model-providers/openAI/openai.yaml index 2d5cfca6..75e1bbe9 100644 --- a/ai-provider/model-runtime/model-providers/openAI/openai.yaml +++ b/ai-provider/model-runtime/model-providers/openAI/openai.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/openrouter/openrouter.yaml b/ai-provider/model-runtime/model-providers/openrouter/openrouter.yaml index ad95d283..a1eedbac 100644 --- a/ai-provider/model-runtime/model-providers/openrouter/openrouter.yaml +++ b/ai-provider/model-runtime/model-providers/openrouter/openrouter.yaml @@ -103,4 +103,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://openrouter.ai \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/perfxcloud/perfxcloud.yaml b/ai-provider/model-runtime/model-providers/perfxcloud/perfxcloud.yaml index bd63e495..4cc7a112 100644 --- a/ai-provider/model-runtime/model-providers/perfxcloud/perfxcloud.yaml +++ b/ai-provider/model-runtime/model-providers/perfxcloud/perfxcloud.yaml @@ -31,4 +31,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://cloud.perfxlab.cn \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/siliconflow/siliconflow.yaml b/ai-provider/model-runtime/model-providers/siliconflow/siliconflow.yaml index f9c932f4..ab5cb9b4 100644 --- a/ai-provider/model-runtime/model-providers/siliconflow/siliconflow.yaml +++ b/ai-provider/model-runtime/model-providers/siliconflow/siliconflow.yaml @@ -30,4 +30,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://api.openai.com \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/spark/spark.yaml b/ai-provider/model-runtime/model-providers/spark/spark.yaml index cbfedef4..fc264c6e 100644 --- a/ai-provider/model-runtime/model-providers/spark/spark.yaml +++ b/ai-provider/model-runtime/model-providers/spark/spark.yaml @@ -28,5 +28,4 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 APIPassword en_US: Enter your APIPassword - address: https://spark-api-open.xf-yun.com \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/stepfun/stepfun.yaml b/ai-provider/model-runtime/model-providers/stepfun/stepfun.yaml index 5466ec4e..83434305 100644 --- a/ai-provider/model-runtime/model-providers/stepfun/stepfun.yaml +++ b/ai-provider/model-runtime/model-providers/stepfun/stepfun.yaml @@ -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 \ No newline at end of file +address: https://api.stepfun.com/v1 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/tongyi/tongyi.yaml b/ai-provider/model-runtime/model-providers/tongyi/tongyi.yaml index da535348..2ae5cb81 100644 --- a/ai-provider/model-runtime/model-providers/tongyi/tongyi.yaml +++ b/ai-provider/model-runtime/model-providers/tongyi/tongyi.yaml @@ -29,4 +29,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://dashscope.aliyuncs.com \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/upstage/upstage.yaml b/ai-provider/model-runtime/model-providers/upstage/upstage.yaml index b52bd1bb..ec44fc82 100644 --- a/ai-provider/model-runtime/model-providers/upstage/upstage.yaml +++ b/ai-provider/model-runtime/model-providers/upstage/upstage.yaml @@ -47,4 +47,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://api.upstage.ai \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/volcengine_maas/volcengine_maas.yaml b/ai-provider/model-runtime/model-providers/volcengine_maas/volcengine_maas.yaml index 8e2fe76f..487f0c8d 100644 --- a/ai-provider/model-runtime/model-providers/volcengine_maas/volcengine_maas.yaml +++ b/ai-provider/model-runtime/model-providers/volcengine_maas/volcengine_maas.yaml @@ -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 diff --git a/ai-provider/model-runtime/model-providers/wenxin/wenxin.yaml b/ai-provider/model-runtime/model-providers/wenxin/wenxin.yaml index e429ea11..603ed9a5 100644 --- a/ai-provider/model-runtime/model-providers/wenxin/wenxin.yaml +++ b/ai-provider/model-runtime/model-providers/wenxin/wenxin.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/xinference/xinference.yaml b/ai-provider/model-runtime/model-providers/xinference/xinference.yaml index 6d284644..21192037 100644 --- a/ai-provider/model-runtime/model-providers/xinference/xinference.yaml +++ b/ai-provider/model-runtime/model-providers/xinference/xinference.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/yi/yi.yaml b/ai-provider/model-runtime/model-providers/yi/yi.yaml index 919cba1b..5d9156f6 100644 --- a/ai-provider/model-runtime/model-providers/yi/yi.yaml +++ b/ai-provider/model-runtime/model-providers/yi/yi.yaml @@ -30,4 +30,12 @@ provider_credential_schema: placeholder: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key -address: https://api.lingyiwanwu.com \ No newline at end of file + - 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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/zhinao/zhinao.yaml b/ai-provider/model-runtime/model-providers/zhinao/zhinao.yaml index 7d2c5372..ff62cd36 100644 --- a/ai-provider/model-runtime/model-providers/zhinao/zhinao.yaml +++ b/ai-provider/model-runtime/model-providers/zhinao/zhinao.yaml @@ -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 \ No newline at end of file diff --git a/ai-provider/model-runtime/model-providers/zhipuai/zhipuai.yaml b/ai-provider/model-runtime/model-providers/zhipuai/zhipuai.yaml index e9ed4eae..c318c8b8 100644 --- a/ai-provider/model-runtime/model-providers/zhipuai/zhipuai.yaml +++ b/ai-provider/model-runtime/model-providers/zhipuai/zhipuai.yaml @@ -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 \ No newline at end of file +address: https://open.bigmodel.cn/api/paas/v4/ \ No newline at end of file