第一章的智能旅行助手 如果两次运行时间较为接近大模型会报错的问题 大家有没有遇到 #587
Unanswered
wdadiuawnd
asked this question in
💬 Exercises & Q&A
Replies: 1 comment
-
|
一样的问题, 不一定非要使用文章中推荐的 OpenAI 模型 client, 我切换成国内的正常了. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
详细报错信息如下:这个NoneType是哪里出来的 而且有的时候他又能正常运行
用户输入: 你好,请帮我查询一下今天北京的天气,然后根据天气推荐一个合适的旅游景点。
--- 循环 1 ---
正在调用大语言模型...
调用LLM API时发生错误: 'NoneType' object is not subscriptable
模型输出:
错误:调用语言模型服务时出错。
Observation: 错误: 未能解析到 Action 字段。请确保你的回复严格遵循 'Thought: ... Action: ...' 的格式。
--- 循环 2 ---
正在调用大语言模型...
调用LLM API时发生错误: 'NoneType' object is not subscriptable
模型输出:
错误:调用语言模型服务时出错。
Observation: 错误: 未能解析到 Action 字段。请确保你的回复严格遵循 'Thought: ... Action: ...' 的格式。
--- 循环 3 ---
正在调用大语言模型...
调用LLM API时发生错误: 'NoneType' object is not subscriptable
模型输出:
错误:调用语言模型服务时出错。
Observation: 错误: 未能解析到 Action 字段。请确保你的回复严格遵循 'Thought: ... Action: ...' 的格式。
--- 循环 4 ---
正在调用大语言模型...
调用LLM API时发生错误: 'NoneType' object is not subscriptable
模型输出:
错误:调用语言模型服务时出错。
Observation: 错误: 未能解析到 Action 字段。请确保你的回复严格遵循 'Thought: ... Action: ...' 的格式。
--- 循环 5 ---
正在调用大语言模型...
调用LLM API时发生错误: 'NoneType' object is not subscriptable
模型输出:
错误:调用语言模型服务时出错。
Observation: 错误: 未能解析到 Action 字段。请确保你的回复严格遵循 'Thought: ... Action: ...' 的格式。
Beta Was this translation helpful? Give feedback.
All reactions