You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 388, in _generate_response_video return response.text File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 464, in text parts = self.parts File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 442, in parts raise ValueError( ValueError: Invalid operation: The response.parts quick accessor requires a single candidate, but but response.candidates is empty. This appears to be caused by a blocked prompt, see response.prompt_feedback: block_reason: OTHER
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 514, in gemini_video_transcription response = _generate_response_video(prompt=prompt, llm_provider_video=llm_provider_video, video_file=gemini_video_file) File "/NarratoAI/app/services/llm.py", line 390, in _generate_response_video return handle_exception(err) File "/NarratoAI/app/services/llm.py", line 130, in handle_exception raise Exception(f"大模型请求失败, 下面是具体报错信息: \n\n{traceback.format_exc()}") Exception: 大模型请求失败, 下面是具体报错信息:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 388, in _generate_response_video return response.text File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 464, in text parts = self.parts File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 442, in parts raise ValueError( ValueError: Invalid operation: The response.parts quick accessor requires a single candidate, but but response.candidates is empty. This appears to be caused by a blocked prompt, see response.prompt_feedback: block_reason: OTHER
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 438, in generate_script transcription = gemini_video_transcription( File "/NarratoAI/app/services/llm.py", line 520, in gemini_video_transcription return handle_exception(err) File "/NarratoAI/app/services/llm.py", line 130, in handle_exception raise Exception(f"大模型请求失败, 下面是具体报错信息: \n\n{traceback.format_exc()}") Exception: 大模型请求失败, 下面是具体报错信息:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 388, in _generate_response_video return response.text File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 464, in text parts = self.parts File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 442, in parts raise ValueError( ValueError: Invalid operation: The response.parts quick accessor requires a single candidate, but but response.candidates is empty. This appears to be caused by a blocked prompt, see response.prompt_feedback: block_reason: OTHER
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 514, in gemini_video_transcription response = _generate_response_video(prompt=prompt, llm_provider_video=llm_provider_video, video_file=gemini_video_file) File "/NarratoAI/app/services/llm.py", line 390, in _generate_response_video return handle_exception(err) File "/NarratoAI/app/services/llm.py", line 130, in handle_exception raise Exception(f"大模型请求失败, 下面是具体报错信息: \n\n{traceback.format_exc()}") Exception: 大模型请求失败, 下面是具体报错信息:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 388, in _generate_response_video return response.text File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 464, in text parts = self.parts File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 442, in parts raise ValueError( ValueError: Invalid operation: The response.parts quick accessor requires a single candidate, but but response.candidates is empty. This appears to be caused by a blocked prompt, see response.prompt_feedback: block_reason: OTHER
The text was updated successfully, but these errors were encountered:
生成过程中发生错误: 大模型请求失败, 下面是具体报错信息:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 388, in _generate_response_video return response.text File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 464, in text parts = self.parts File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 442, in parts raise ValueError( ValueError: Invalid operation: The response.parts quick accessor requires a single candidate, but but response.candidates is empty. This appears to be caused by a blocked prompt, see response.prompt_feedback: block_reason: OTHER
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 514, in gemini_video_transcription response = _generate_response_video(prompt=prompt, llm_provider_video=llm_provider_video, video_file=gemini_video_file) File "/NarratoAI/app/services/llm.py", line 390, in _generate_response_video return handle_exception(err) File "/NarratoAI/app/services/llm.py", line 130, in handle_exception raise Exception(f"大模型请求失败, 下面是具体报错信息: \n\n{traceback.format_exc()}") Exception: 大模型请求失败, 下面是具体报错信息:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 388, in _generate_response_video return response.text File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 464, in text parts = self.parts File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 442, in parts raise ValueError( ValueError: Invalid operation: The response.parts quick accessor requires a single candidate, but but response.candidates is empty. This appears to be caused by a blocked prompt, see response.prompt_feedback: block_reason: OTHER
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 438, in generate_script transcription = gemini_video_transcription( File "/NarratoAI/app/services/llm.py", line 520, in gemini_video_transcription return handle_exception(err) File "/NarratoAI/app/services/llm.py", line 130, in handle_exception raise Exception(f"大模型请求失败, 下面是具体报错信息: \n\n{traceback.format_exc()}") Exception: 大模型请求失败, 下面是具体报错信息:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 388, in _generate_response_video return response.text File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 464, in text parts = self.parts File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 442, in parts raise ValueError( ValueError: Invalid operation: The response.parts quick accessor requires a single candidate, but but response.candidates is empty. This appears to be caused by a blocked prompt, see response.prompt_feedback: block_reason: OTHER
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 514, in gemini_video_transcription response = _generate_response_video(prompt=prompt, llm_provider_video=llm_provider_video, video_file=gemini_video_file) File "/NarratoAI/app/services/llm.py", line 390, in _generate_response_video return handle_exception(err) File "/NarratoAI/app/services/llm.py", line 130, in handle_exception raise Exception(f"大模型请求失败, 下面是具体报错信息: \n\n{traceback.format_exc()}") Exception: 大模型请求失败, 下面是具体报错信息:
Traceback (most recent call last): File "/NarratoAI/app/services/llm.py", line 388, in _generate_response_video return response.text File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 464, in text parts = self.parts File "/usr/local/lib/python3.10/site-packages/google/generativeai/types/generation_types.py", line 442, in parts raise ValueError( ValueError: Invalid operation: The response.parts quick accessor requires a single candidate, but but response.candidates is empty. This appears to be caused by a blocked prompt, see response.prompt_feedback: block_reason: OTHER
The text was updated successfully, but these errors were encountered: