Skip to content

[Bug] 在管理行为配置里禁用系统函数但模型仍能调用 #6506

@Clhikari

Description

@Clhikari

What happened / 发生了什么

禁用系统函数但模型仍能调用

Reproduce / 如何复现?

在管理行为配置里禁用web_search_tavily,然后让模型尝试调用

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

本地Windows
AstrBot:4.20.0
模型:gemini-3-flash-preview

OS

Windows

Logs / 报错日志

Image

Image

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreThe bug / feature is about astrbot's core, backendbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions