yunfengzhou-hub commented on code in PR #1114:
URL: https://github.com/apache/flink-agents/pull/1114#discussion_r4036955370


##########
python/flink_agents/plan/agent_plan.py:
##########
@@ -293,6 +293,22 @@ def _to_plan_function(func: ApiFunction) -> PythonFunction 
| JavaFunction:
     raise TypeError(msg)
 
 
+def _check_tool_name_not_reserved(name: str) -> None:

Review Comment:
   Fixed. the MCP discovery loop now runs 
`_check_tool_name_not_reserved(tool.name)` and raises, so a remote `advertising 
_subagent_*` fails at plan-construction. I went with failing at discovery 
rather than skipping with a warning.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to