mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #1130] [MERGED] fix: handle mcp array and object type #1727
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1130
Author: @Nov1c444
Created: 6/19/2025
Status: ✅ Merged
Merged: 6/20/2025
Merged by: @Nov1c444
Base:
main← Head:fix/agent-support-object-array📝 Commits (5)
1bbfa37fix: handle mcp array and object typeff70ee1bump version to 0.0.17e5bc8feMerge branch 'main' into fix/agent-support-object-array59b6b15chore: bump version to 0.0.184493965chore: pin dependency version to 0.3.5📊 Changes
4 files changed (+72 additions, -54 deletions)
View changed files
📝
agent-strategies/cot_agent/manifest.yaml(+1 -1)📝
agent-strategies/cot_agent/requirements.txt(+1 -1)📝
agent-strategies/cot_agent/strategies/ReAct.py(+23 -23)📝
agent-strategies/cot_agent/strategies/function_calling.py(+47 -29)📄 Description
Related Issues or Context
Fix mypy type checking issues in the code and resolve the problem where object and array types cannot be parsed in MCP tools.
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.4.0in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.