Skip to content

工具配置的参数没有被传给agent #49

@syw9105-ui

Description

@syw9105-ui

Please confirm before submission 在提交之前,请确认

Dify version Dify版本

1.9.1

db_query or db_query_pre_auth

Database Query 数据库查询

Plugin version 插件版本

0.0.9

database and version 数据库及版本

mysql

Problem description 问题描述

工具配置的参数没有被传给agent

我工具上已经配置好了参数,但是parameters传参上面没有
"tools": [
{
"provider_name": "junjiem/db_query/db_query",
"provider_show_name": "junjiem/db_query/db_query",
"type": "builtin",
"tool_name": "sql_query",
"tool_label": "SQL查询",
"tool_description": "数据库SQL查询工具。",
"settings": {
"output_format": {
"type": "constant",
"value": "markdown"
}
},
"parameters": {
"db_type": null,
"db_host": null,
"db_port": null,
"db_username": null,
"db_password": null,
"db_name": null,
"db_properties": null,
"query_sql": null
},
"enabled": true,
"extra": {
"description": "数据库SQL查询工具。"
}
}
],

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions