#8551·mealie

[SCRAPER] - OpenAI 的硬编码 /audio/转录会破坏 Gemini 的转录

作者: geekykid12创建于 2026年9月25日更新于 2026年9月25日
标签bugscrapertriage

First Check

  • I used the GitHub search to find a similar issue and didn't find it.
  • I have verified that this issue is not related to the underlying library hhyrsev/recipe-scrapers by 1) checking the debugger and data is returned, 2) verifying that there are errors in the log related to application level code, or 3) verified that the site provides recipe data, or is otherwise supported by hhyrsev/recipe-scrapers
  • This issue can be replicated on the demo site (https://demo.mealie.io/)

Please provide 1-5 example URLs that are having errors

https://www.facebook.com/reel/705655659162325

Please provide your logs for the Mealie container Docker logs <container-id> > mealie.logs

INFO 2026-09-25T22:10:06 - [127.0.0.1:42934] 200 OK "GET /api/app/about HTTP/1.1" INFO 2026-09-25T22:10:36 - [127.0.0.1:39698] 200 OK "GET /api/app/about HTTP/1.1" INFO 2026-09-25T22:10:52 - [192.168.1.177:52472] 200 OK "POST /api/recipes/create/ai/stream HTTP/1.1" INFO 2026-09-25T22:10:55 - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/audio/transcriptions "HTTP/1.1 404 Not Found" WARNING 2026-09-25T22:10:55 - Failed to create audio transcription, falling back to chat completion (NotFoundError: Error code: 404) WARNING 2026-09-25T22:10:55 - Failed to create audio transcription, falling back to chat completion (NotFoundError: Error code: 404) INFO 2026-09-25T22:10:57 - HTTP Request: POST https://generativelanguage.googleapis.com/v1beta/chat/completions "HTTP/1.1 400 Bad Request" ERROR 2026-09-25T22:10:57 - Failed to compile source with TranscriptionCompiler Traceback (most recent call last): File "/opt/mealie/lib/python3.14/site-packages/mealie/services/OpenAI/OpenAI.py", line 400, in get_response return await self._get_raw_response(prompt, user_messages, response_schema, provider) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mealie/lib/python3.14/site-packages/mealie/services/OpenAI/OpenAI.py", line 355, in _get_raw_response async with client.chat.completions.with_streaming_response.parse( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ messages=[ ^^^^^^^^^^ ...<10 lines>... response_format=response_schema, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as response: ^ File "/opt/mealie/lib/python3.14/site-packages/OpenAI/_response.py", line 655, in aenter self.__response = await self._api_request ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/mealie/lib/python3.14/site-packages/OpenAI/resources/chat/completions/completions.py", line 1816, in parse return await self._post( ^^^^^^^^^^^^^^^^^ ...<55 lines>... ) ^ File

内容来源: mealie-recipes/mealie