[PR #1195] [MERGED] feat: support gpt-3.5-turbo-instruct model #22942

Closed
opened 2026-02-21 20:20:06 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/1195
Author: @takatost
Created: 9/18/2023
Status: Merged
Merged: 9/18/2023
Merged by: @takatost

Base: mainHead: feat/support-gpt-35-turbo-instruct


📝 Commits (1)

  • b90c9eb feat: support gpt-3.5-turbo-instruct model

📊 Changes

7 files changed (+25 additions, -9 deletions)

View changed files

📝 api/constants/model_template.py (+6 -6)
📝 api/core/model_providers/models/llm/openai_model.py (+2 -0)
📝 api/core/model_providers/providers/openai_provider.py (+5 -0)
📝 api/core/model_providers/rules/openai.json (+6 -0)
📝 api/core/third_party/langchain/llms/open_ai.py (+3 -0)
📝 api/requirements.txt (+1 -1)
📝 api/tests/integration_tests/models/llm/test_openai_model.py (+2 -2)

📄 Description

Support OpenAI new gpt-3.5-turbo-instruct model.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify/pull/1195 **Author:** [@takatost](https://github.com/takatost) **Created:** 9/18/2023 **Status:** ✅ Merged **Merged:** 9/18/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `feat/support-gpt-35-turbo-instruct` --- ### 📝 Commits (1) - [`b90c9eb`](https://github.com/langgenius/dify/commit/b90c9eb77ff43117199c6c11ebd2a9dc0b6b0ad7) feat: support gpt-3.5-turbo-instruct model ### 📊 Changes **7 files changed** (+25 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `api/constants/model_template.py` (+6 -6) 📝 `api/core/model_providers/models/llm/openai_model.py` (+2 -0) 📝 `api/core/model_providers/providers/openai_provider.py` (+5 -0) 📝 `api/core/model_providers/rules/openai.json` (+6 -0) 📝 `api/core/third_party/langchain/llms/open_ai.py` (+3 -0) 📝 `api/requirements.txt` (+1 -1) 📝 `api/tests/integration_tests/models/llm/test_openai_model.py` (+2 -2) </details> ### 📄 Description Support OpenAI new gpt-3.5-turbo-instruct model. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:20:06 -05:00
yindo closed this issue 2026-02-21 20:20:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22942