Makememo / Makememo/MemoAI

视频转文字后的chat功能不能用

Open
#375 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
No language data
Stars
1.1k
Forks
108
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
视频转文字后,希望通过对话方式问答了解视频内容,但每次点击chat,都只是闪动一下就没有反应了。在错误日志中有显示,错误显示如下:

The error in log shows as following: "[error 15:50:21.712] Error occurred in handler for 'embeddingTranscription': Error: OpenAI or Azure OpenAI API key or Token Provider not found
at new Zx (C:\Users\Workstation\AppData\Local\Programs\Memo\resources\app.asar\dist-electron\main\index-26a191c4.js:4044:8287)
at Afe (C:\Users\Workstation\AppData\Local\Programs\Memo\resources\app.asar\dist-electron\main\index-26a191c4.js:6385:5400)
at xhi (C:\Users\Workstation\AppData\Local\Programs\Memo\resources\app.asar\dist-electron\main\index-26a191c4.js:6385:8014)
at async W1e (C:\Users\Workstation\AppData\Local\Programs\Memo\resources\app.asar\dist-electron\main\index-26a191c4.js:6385:9807)
at async WebContents. (node:electron/js2c/browser_init:2:79665)"

OpenAI 的API已经设置,并可以正常汇总和mindmap

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
windows 11

Additional context
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the embeddingTranscription handler named in the error and trace it from the bundled dist-electron/main/index-26a191c4.js stack path. Check why chat cannot find the configured OpenAI or Azure OpenAI credential even though summarization and mind-map features work on Windows 11; done means clicking Chat produces a usable response without the credential error.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron
Domain
ai, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.