Skip to content

[Bug] chatadapter parse bug #8181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Haoping-Xiao opened this issue May 6, 2025 · 0 comments
Open

[Bug] chatadapter parse bug #8181

Haoping-Xiao opened this issue May 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Haoping-Xiao
Copy link

What happened?

Input

"[[ ## reasoning ## ]]
用户希望记录网络连接不稳定的问题以及他的配置信息。根据对话历史,用户提到网络连接不稳定可能是由于路由器问题,并且他已经尝试过重启路由器但没有效果。用户没有提供任何网页链接信息,因此 memory_url_info 字段应设置为 Nonememory_text 字段应包含用户描述的问题和配置信息。

[[ ## tool_parameters ## ]]

{
  "memory_text": "网络连接不稳定,可能是由于路由器问题。已尝试重启路由器但没有效果。",
  "memory_url_info": None
}

[[ ## completed ## ]]"

Output

{
reasoning: "用户希望记录网络连接不稳定的问题以及他的配置信息。根据对话历史,用户提到网络连接不稳定可能是由于路由器问题,并且他已经尝试过重启路由器但没有效果。用户没有提供任何网页链接信息,因此 memory_url_info 字段应设置为 Nonememory_text 字段应包含用户描述的问题和配置信息。"
tool_parameters: {
memory_text: "网络连接不稳定,可能是由于路由器问题。已尝试重启路由器但没有效果。"
memory_url_info: "None}```" }
}

As we can see, the value of memory_url_info is "None}```"

It should be memory_url_info: None.

Steps to reproduce

Input

"[[ ## reasoning ## ]]
用户希望记录网络连接不稳定的问题以及他的配置信息。根据对话历史,用户提到网络连接不稳定可能是由于路由器问题,并且他已经尝试过重启路由器但没有效果。用户没有提供任何网页链接信息,因此 memory_url_info 字段应设置为 Nonememory_text 字段应包含用户描述的问题和配置信息。

[[ ## tool_parameters ## ]]

{
  "memory_text": "网络连接不稳定,可能是由于路由器问题。已尝试重启路由器但没有效果。",
  "memory_url_info": None
}

[[ ## completed ## ]]"

DSPy version

2.6.23

@Haoping-Xiao Haoping-Xiao added the bug Something isn't working label May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant