Skip to content

[Bug] 调用MCP次数超过17次报错Exception:GraphRecursionError: Recursion limit of 25 reached without hitting a stop condition #4628

@WongHohin

Description

@WongHohin

Contact Information

No response

MaxKB Version

2.4.1

Problem Description

当调用MCP次数超过17次的时候就会报错:Exception:GraphRecursionError: Recursion limit of 25 reached without hitting a stop condition. You can increase the limit by setting the recursion_limit config key.
For troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/GRAPH_RECURSION_LIMIT

Image

Steps to Reproduce

大模型调用MCP次数超过17次

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions