[PR #2618] [CLOSED] Fix the problem of failing transcribing when using OpenAiWhisper #4046

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2618
Author: @fiyen
Created: 11/11/2024
Status: Closed

Base: masterHead: master


📝 Commits (3)

  • 5d98365 Fix the problem of web-searching can not complete searching sessions.
  • 1b47fab Merge branch 'Mintplex-Labs:master' into master
  • 12fd276 Fix the problem of failing transcribing when using OpenAiWhisper

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 collector/utils/WhisperProviders/OpenAiWhisper.js (+1 -1)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #2617

What is in this change?

Once a Transcription API is set to OpenAiWhisper, transcription result is failure whenever I upload a .mp3 file. I find that the code in line 36 of OpenAiWhisper.js in collector directory is return a result like: content: response. I have referred to the docs in openai.com, the example shows that the text content should extract by using response.text. So I change the code to content: response.text, and my question is solved.

Additional Information

Developer Validations

  • [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
  • 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/2618 **Author:** [@fiyen](https://github.com/fiyen) **Created:** 11/11/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`5d98365`](https://github.com/Mintplex-Labs/anything-llm/commit/5d98365f9ab9c5272d282fa0f2e6d8e239f3c325) Fix the problem of web-searching can not complete searching sessions. - [`1b47fab`](https://github.com/Mintplex-Labs/anything-llm/commit/1b47fabe5e3677e4d264fe035cdcbf53fd8cd2ad) Merge branch 'Mintplex-Labs:master' into master - [`12fd276`](https://github.com/Mintplex-Labs/anything-llm/commit/12fd2769d02727fbb7fd45e37ca55566e9b5d159) Fix the problem of failing transcribing when using OpenAiWhisper ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `collector/utils/WhisperProviders/OpenAiWhisper.js` (+1 -1) </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 #2617 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> Once a Transcription API is set to OpenAiWhisper, transcription result is failure whenever I upload a .mp3 file. I find that the code in line 36 of OpenAiWhisper.js in collector directory is return a result like: content: response. I have referred to the docs in openai.com, the example shows that the text content should extract by using response.text. So I change the code to content: response.text, and my question is solved. ### 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 - [ ] 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:35:01 -05:00
yindo closed this issue 2026-02-22 18:35:01 -05:00
yindo changed title from [PR #2618] Fix the problem of failing transcribing when using OpenAiWhisper to [PR #2618] [CLOSED] Fix the problem of failing transcribing when using OpenAiWhisper 2026-06-05 15:16:33 -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#4046