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
`2024-12-02 11:38:05 | INFO | "./app\utils\script_generator.py:319": init - 文本 LLM 提供商: gpt-4o-mini
2024-12-02 11:38:06 | WARNING | "./app\utils\script_generator.py:40": _try_generate - Generation attempt 1 failed: 'str' object has no attribute 'choices'
2024-12-02 11:38:06 | WARNING | "./app\utils\script_generator.py:40": _try_generate - Generation attempt 2 failed: 'str' object has no attribute 'choices'
2024-12-02 11:38:06 | ERROR | "./app\utils\script_generator.py:78": generate_script - Script generation failed: 'str' object has no attribute 'choices'
2024-12-02 11:38:06 | ERROR | "./webui\components\script_settings.py:549": generate_script - 大模型处理过程中发生错误
Traceback (most recent call last):
File ".\webui\components\script_settings.py", line 543, in generate_script
script_result = processor.process_frames(frame_content_list)
File ".\app\utils\script_generator.py", line 397, in process_frames
script = self.generator.generate_script(frame_content["picture"], word_count)
File ".\app\utils\script_generator.py", line 68, in generate_script
generated_script = self._try_generate(messages, self.default_params)
File ".\app\utils\script_generator.py", line 36, in _try_generate
return self._process_response(response)
File ".\app\utils\script_generator.py", line 119, in _process_response
if not response or not response.choices:
AttributeError: 'str' object has no attribute 'choices'
2024-12-02 11:38:06 | ERROR | "./webui\components\script_settings.py:674": generate_script - 生成脚本时发生错误
Traceback (most recent call last):
File ".\webui\components\script_settings.py", line 543, in generate_script
script_result = processor.process_frames(frame_content_list)
File ".\app\utils\script_generator.py", line 397, in process_frames
script = self.generator.generate_script(frame_content["picture"], word_count)
File ".\app\utils\script_generator.py", line 68, in generate_script
generated_script = self._try_generate(messages, self.default_params)
File ".\app\utils\script_generator.py", line 36, in _try_generate
return self._process_response(response)
File ".\app\utils\script_generator.py", line 119, in _process_response
if not response or not response.choices:
AttributeError: 'str' object has no attribute 'choices'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".\webui\components\script_settings.py", line 550, in generate_script
raise Exception(f"分析失败: {str(e)}")
Exception: 分析失败: 'str' object has no attribute 'choices'
`
使用Openai gpt-4o-mini 分析失败!!生成脚本时发生错误!!大模型处理过程中发生错误!!
The text was updated successfully, but these errors were encountered:
`2024-12-02 11:38:05 | INFO | "./app\utils\script_generator.py:319": init - 文本 LLM 提供商: gpt-4o-mini
2024-12-02 11:38:06 | WARNING | "./app\utils\script_generator.py:40": _try_generate - Generation attempt 1 failed: 'str' object has no attribute 'choices'
2024-12-02 11:38:06 | WARNING | "./app\utils\script_generator.py:40": _try_generate - Generation attempt 2 failed: 'str' object has no attribute 'choices'
2024-12-02 11:38:06 | ERROR | "./app\utils\script_generator.py:78": generate_script - Script generation failed: 'str' object has no attribute 'choices'
2024-12-02 11:38:06 | ERROR | "./webui\components\script_settings.py:549": generate_script - 大模型处理过程中发生错误
Traceback (most recent call last):
File ".\webui\components\script_settings.py", line 543, in generate_script
script_result = processor.process_frames(frame_content_list)
File ".\app\utils\script_generator.py", line 397, in process_frames
script = self.generator.generate_script(frame_content["picture"], word_count)
File ".\app\utils\script_generator.py", line 68, in generate_script
generated_script = self._try_generate(messages, self.default_params)
File ".\app\utils\script_generator.py", line 36, in _try_generate
return self._process_response(response)
File ".\app\utils\script_generator.py", line 119, in _process_response
if not response or not response.choices:
AttributeError: 'str' object has no attribute 'choices'
2024-12-02 11:38:06 | ERROR | "./webui\components\script_settings.py:674": generate_script - 生成脚本时发生错误
Traceback (most recent call last):
File ".\webui\components\script_settings.py", line 543, in generate_script
script_result = processor.process_frames(frame_content_list)
File ".\app\utils\script_generator.py", line 397, in process_frames
script = self.generator.generate_script(frame_content["picture"], word_count)
File ".\app\utils\script_generator.py", line 68, in generate_script
generated_script = self._try_generate(messages, self.default_params)
File ".\app\utils\script_generator.py", line 36, in _try_generate
return self._process_response(response)
File ".\app\utils\script_generator.py", line 119, in _process_response
if not response or not response.choices:
AttributeError: 'str' object has no attribute 'choices'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".\webui\components\script_settings.py", line 550, in generate_script
raise Exception(f"分析失败: {str(e)}")
Exception: 分析失败: 'str' object has no attribute 'choices'
`
使用Openai gpt-4o-mini 分析失败!!生成脚本时发生错误!!大模型处理过程中发生错误!!
The text was updated successfully, but these errors were encountered: