Agent in Chatflow doesn't recognize the ”select“ type of parameter when calling workflows #11778

Closed
opened 2026-02-21 19:03:50 -05:00 by yindo · 0 comments
Owner

Originally created by @SilverNebula on GitHub (Mar 19, 2025).

Originally assigned to: @Nov1c444 on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Create a chatflow
  2. Declare an Agent node.
  3. Assign a tool (derived from a workflow that includes 'select' parameters).

For example:
Image

  1. An error occured when agent calls the tool.

✔️ Expected Behavior

A normal Agent application can recognize the 'select' parameter smoothly. The Agent nodes in chatflow should have similar behavior.

Actual Behavior

Error:
Run failed: Failed to transform agent message: PluginInvokeError: {"args":{},"error_type":"Exception","message":"read llm model failed: request failed: [models] Bad Request Error, Error code: 400 - {'error': {'message': "Invalid schema for function 'search_variant_db': 'select' is not valid under any of the given schemas. (request id: 2025031904095579824516283000496)", 'type': 'invalid_request_error', 'param': '', 'code': None}}"}

Originally created by @SilverNebula on GitHub (Mar 19, 2025). Originally assigned to: @Nov1c444 on GitHub. ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Create a chatflow 2. Declare an Agent node. 3. Assign a tool (derived from a workflow that includes 'select' parameters). For example: ![Image](https://github.com/user-attachments/assets/b8a45a5a-d285-4705-9062-2141567b0c35) 4. An error occured when agent calls the tool. ### ✔️ Expected Behavior A normal Agent application can recognize the 'select' parameter smoothly. The Agent nodes in chatflow should have similar behavior. ### ❌ Actual Behavior Error: Run failed: Failed to transform agent message: PluginInvokeError: {"args":{},"error_type":"Exception","message":"read llm model failed: request failed: [models] Bad Request Error, Error code: 400 - {'error': {'message': "Invalid schema for function 'search_variant_db': 'select' is not valid under any of the given schemas. (request id: 2025031904095579824516283000496)", 'type': 'invalid_request_error', 'param': '', 'code': None}}"}
yindo added the 🐞 bug label 2026-02-21 19:03:50 -05:00
yindo closed this issue 2026-02-21 19:03:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11778