From 4fa3d78ed843a18b9cdac4d19cc7ef1daa3082c9 Mon Sep 17 00:00:00 2001 From: Zixuan Cheng <61724187+Theysua@users.noreply.github.com> Date: Mon, 28 Apr 2025 18:15:24 +0800 Subject: [PATCH] Revert "feat : add GPT4.1 in the model providers" (#19002) --- .../model_providers/openai/llm/_position.yaml | 1 - .../model_providers/openai/llm/gpt-4-1.yaml | 60 ------------------- 2 files changed, 61 deletions(-) delete mode 100644 api/core/model_runtime/model_providers/openai/llm/gpt-4-1.yaml diff --git a/api/core/model_runtime/model_providers/openai/llm/_position.yaml b/api/core/model_runtime/model_providers/openai/llm/_position.yaml index 688d4dbd09..0d3143c2ae 100644 --- a/api/core/model_runtime/model_providers/openai/llm/_position.yaml +++ b/api/core/model_runtime/model_providers/openai/llm/_position.yaml @@ -1,4 +1,3 @@ -- gpt-4.1 - o1 - o1-2024-12-17 - o1-mini diff --git a/api/core/model_runtime/model_providers/openai/llm/gpt-4-1.yaml b/api/core/model_runtime/model_providers/openai/llm/gpt-4-1.yaml deleted file mode 100644 index f9f6edb4e6..0000000000 --- a/api/core/model_runtime/model_providers/openai/llm/gpt-4-1.yaml +++ /dev/null @@ -1,60 +0,0 @@ -model: gpt-4.1 -label: - zh_Hans: gpt-4.1 - en_US: gpt-4.1 -model_type: llm -features: - - multi-tool-call - - agent-thought - - stream-tool-call - - vision -model_properties: - mode: chat - context_size: 1047576 -parameter_rules: - - name: temperature - use_template: temperature - - name: top_p - use_template: top_p - - name: presence_penalty - use_template: presence_penalty - - name: frequency_penalty - use_template: frequency_penalty - - name: max_tokens - use_template: max_tokens - default: 512 - min: 1 - max: 32768 - - name: reasoning_effort - label: - zh_Hans: 推理工作 - en_US: Reasoning Effort - type: string - help: - zh_Hans: 限制推理模型的推理工作 - en_US: Constrains effort on reasoning for reasoning models - required: false - options: - - low - - medium - - high - - name: response_format - label: - zh_Hans: 回复格式 - en_US: Response Format - type: string - help: - zh_Hans: 指定模型必须输出的格式 - en_US: specifying the format that the model must output - required: false - options: - - text - - json_object - - json_schema - - name: json_schema - use_template: json_schema -pricing: - input: '2.00' - output: '8.00' - unit: '0.000001' - currency: USD \ No newline at end of file