Skip to content

[Bug] MCP DuckDuckGo: TypeError comparing int and ProviderRequest #8282

@junyuewang

Description

@junyuewang

环境

  • AstrBot v4.25.1 / Docker / DeepSeek v4-pro

现象

DuckDuckGo MCP 连接成功但调用搜索时抛出:

TypeError: '>' not supported between instances of 'int' and 'ProviderRequest'

webchat 显示 "Error in input stream",SSE 流中断。

日志

Connected to MCP server duckduckgo, Tools: ['search', 'fetch']
MCP initialization: 2/2 successful, 0 failed
[ERRO] TypeError: '>' not supported between int and ProviderRequest

重现步骤

  1. 配置 DuckDuckGo MCP (@aiprintmoney-arc/mcp-server-duckduckgo)
  2. 重启 AstrBot
  3. webchat 请求搜索 → 崩溃

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:providerThe bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.feature:chatuiThe bug / feature is about astrbot's chatui, webchat

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions