Support OpenAI web_search models (e.g., gpt-5 or gpt-4o-mini-search-preview) in model selection #798

Closed
opened 2026-02-16 10:20:32 -05:00 by yindo · 1 comment
Owner

Originally created by @katakyo on GitHub (Nov 11, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

We need to use OpenAI’s web_search-enabled models in Dify for workflows that require up-to-date information (e.g., news monitoring and competitive analysis). Currently, these models aren’t selectable and web_search_options can’t be configured, so we must fall back to non-search models or call the API outside of Dify. This increases latency and maintenance overhead, and limits answer quality for time-sensitive queries. Enabling selection of web_search models and first-class web_search_options support would let us keep these workflows in Dify, reduce glue code, and improve answer freshness and reliability.

2. Additional context or comments

OpenAI docs for web_search_options: https://platform.openai.com/docs/api-reference/chat/create#chat_create-web_search_options
Models: gpt-4o-mini-search-preview and GPT‑5 series
UI: allow configuring full web_search_options (not only search_context_size) and automatically omit temperature/response_format when using web_search models
Compatibility: non-web_search models should keep current behavior
Priority: high for news- and research-oriented flows in Q4
Happy to provide sample payloads and screenshots if needed

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @katakyo on GitHub (Nov 11, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. We need to use OpenAI’s web_search-enabled models in Dify for workflows that require up-to-date information (e.g., news monitoring and competitive analysis). Currently, these models aren’t selectable and web_search_options can’t be configured, so we must fall back to non-search models or call the API outside of Dify. This increases latency and maintenance overhead, and limits answer quality for time-sensitive queries. Enabling selection of web_search models and first-class web_search_options support would let us keep these workflows in Dify, reduce glue code, and improve answer freshness and reliability. ### 2. Additional context or comments OpenAI docs for web_search_options: https://platform.openai.com/docs/api-reference/chat/create#chat_create-web_search_options Models: gpt-4o-mini-search-preview and GPT‑5 series UI: allow configuring full web_search_options (not only search_context_size) and automatically omit temperature/response_format when using web_search models Compatibility: non-web_search models should keep current behavior Priority: high for news- and research-oriented flows in Q4 Happy to provide sample payloads and screenshots if needed ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the enhancement label 2026-02-16 10:20:32 -05:00
yindo closed this issue 2026-02-16 10:20:32 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 27, 2025):

Hi, @katakyo. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested adding support for OpenAI's web_search-enabled models like gpt-4o-mini-search-preview and GPT-5 series in Dify's model selection.
  • Emphasized the need for full UI configuration of web_search_options and compatibility with non-web_search models.
  • Highlighted the importance of this feature for news and research workflows to provide fresher answers and reduce maintenance.
  • No further activity or comments have been posted since your initial request.

Next Steps:

  • Please let me know if this feature request is still relevant to the latest version of the dify-official-plugins repository by commenting on this issue.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Nov 27, 2025): Hi, @katakyo. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You requested adding support for OpenAI's web_search-enabled models like gpt-4o-mini-search-preview and GPT-5 series in Dify's model selection. - Emphasized the need for full UI configuration of web_search_options and compatibility with non-web_search models. - Highlighted the importance of this feature for news and research workflows to provide fresher answers and reduce maintenance. - No further activity or comments have been posted since your initial request. **Next Steps:** - Please let me know if this feature request is still relevant to the latest version of the dify-official-plugins repository by commenting on this issue. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#798