diff --git a/ai-provider/model-runtime/model-providers/cohere/cohere.yaml b/ai-provider/model-runtime/model-providers/cohere/cohere.yaml index 51c01fb6..fa6e0556 100644 --- a/ai-provider/model-runtime/model-providers/cohere/cohere.yaml +++ b/ai-provider/model-runtime/model-providers/cohere/cohere.yaml @@ -32,61 +32,4 @@ provider_credential_schema: zh_Hans: 在此输入您的 API Key en_US: Enter your API Key show_on: [ ] - - variable: base_url - label: - zh_Hans: API Base - en_US: API Base - type: text-input - required: false - placeholder: - zh_Hans: 在此输入您的 API Base,如 https://api.cohere.ai/v1 - en_US: Enter your API Base, e.g. https://api.cohere.ai/v1 -model_credential_schema: - model: - label: - en_US: Model Name - zh_Hans: 模型名称 - placeholder: - en_US: Enter your model name - zh_Hans: 输入模型名称 - credential_form_schemas: - - variable: mode - show_on: - - variable: __model_type - value: llm - label: - en_US: Completion mode - type: select - required: false - default: chat - placeholder: - zh_Hans: 选择对话类型 - en_US: Select completion mode - options: - - value: completion - label: - en_US: Completion - zh_Hans: 补全 - - value: chat - label: - en_US: Chat - zh_Hans: 对话 - - 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: - zh_Hans: API Base - en_US: API Base - type: text-input - required: false - placeholder: - zh_Hans: 在此输入您的 API Base,如 https://api.cohere.ai/v1 - en_US: Enter your API Base, e.g. https://api.cohere.ai/v1 - -address: https://api.openai.com \ No newline at end of file +address: https://api.cohere.com \ No newline at end of file