[PR #4307] [CLOSED] Add GPT-5 support #4589

Closed
opened 2026-02-22 18:36:08 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4307
Author: @roman-y-wu
Created: 8/18/2025
Status: Closed

Base: masterHead: master


📝 Commits (4)

  • d2e2be3 feat: Add optional Chroma tenant and database name configuration
  • ed856f7 feat: Enhance Chroma configuration for multi-tenancy support
  • 097fbd7 Merge branch 'Mintplex-Labs:master' into master
  • 4d78414 Add support for max_tokens configuration in OpenAI models

📊 Changes

10 files changed (+277 additions, -17 deletions)

View changed files

📝 docker/.env.example (+2 -0)
📝 frontend/src/components/VectorDBSelection/ChromaDBOptions/index.jsx (+36 -0)
📝 server/.env.example (+2 -0)
server/__tests__/utils/AiProviders/openAi/gpt5-fix.test.js (+107 -0)
📝 server/models/systemSettings.js (+3 -0)
📝 server/utils/AiProviders/openAi/index.js (+59 -15)
📝 server/utils/agents/aibitat/providers/openai.js (+39 -2)
📝 server/utils/helpers/updateENV.js (+12 -0)
📝 server/utils/vectorDbProviders/chroma/CHROMA_SETUP.md (+11 -0)
📝 server/utils/vectorDbProviders/chroma/index.js (+6 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #4304

What is in this change?

Properly detects and handles gpt-5 models.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/4307 **Author:** [@roman-y-wu](https://github.com/roman-y-wu) **Created:** 8/18/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`d2e2be3`](https://github.com/Mintplex-Labs/anything-llm/commit/d2e2be3d0662173ea03199be2c7eb72946e5369f) feat: Add optional Chroma tenant and database name configuration - [`ed856f7`](https://github.com/Mintplex-Labs/anything-llm/commit/ed856f779faac184d0efabc08161abdfd8b762d9) feat: Enhance Chroma configuration for multi-tenancy support - [`097fbd7`](https://github.com/Mintplex-Labs/anything-llm/commit/097fbd73bd3388ea7bc8aa4574aa155da9033e4a) Merge branch 'Mintplex-Labs:master' into master - [`4d78414`](https://github.com/Mintplex-Labs/anything-llm/commit/4d784149c0ec857155d4e4cbdeeda3720d36eea5) Add support for max_tokens configuration in OpenAI models ### 📊 Changes **10 files changed** (+277 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `docker/.env.example` (+2 -0) 📝 `frontend/src/components/VectorDBSelection/ChromaDBOptions/index.jsx` (+36 -0) 📝 `server/.env.example` (+2 -0) ➕ `server/__tests__/utils/AiProviders/openAi/gpt5-fix.test.js` (+107 -0) 📝 `server/models/systemSettings.js` (+3 -0) 📝 `server/utils/AiProviders/openAi/index.js` (+59 -15) 📝 `server/utils/agents/aibitat/providers/openai.js` (+39 -2) 📝 `server/utils/helpers/updateENV.js` (+12 -0) 📝 `server/utils/vectorDbProviders/chroma/CHROMA_SETUP.md` (+11 -0) 📝 `server/utils/vectorDbProviders/chroma/index.js` (+6 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #4304 ### What is in this change? Properly detects and handles gpt-5 models. <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <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-22 18:36:08 -05:00
yindo closed this issue 2026-02-22 18:36:08 -05:00
yindo changed title from [PR #4307] Add GPT-5 support to [PR #4307] [CLOSED] Add GPT-5 support 2026-06-05 15:19:19 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4589