This is an automated email from the ASF dual-hosted git repository.

xtsong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git


The following commit(s) were added to refs/heads/main by this push:
     new 59cb755  [hotfix] Fix tongyi chat model test failure. (#142)
59cb755 is described below

commit 59cb755ad8771a15567059cabf2445bfa5e9f2f0
Author: Eugene <[email protected]>
AuthorDate: Thu Sep 4 15:19:56 2025 +0800

    [hotfix] Fix tongyi chat model test failure. (#142)
---
 python/flink_agents/integrations/chat_models/tongyi_chat_model.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/flink_agents/integrations/chat_models/tongyi_chat_model.py 
b/python/flink_agents/integrations/chat_models/tongyi_chat_model.py
index c6ea626..cd92f94 100644
--- a/python/flink_agents/integrations/chat_models/tongyi_chat_model.py
+++ b/python/flink_agents/integrations/chat_models/tongyi_chat_model.py
@@ -48,7 +48,7 @@ def to_dashscope_tool(metadata: ToolMetadata, 
skip_length_check: bool = False) -
         "function": {
             "name": metadata.name,
             "description": metadata.description,
-            "parameters": metadata._ToolMetadata__get_parameters_dict(),
+            "parameters": metadata.get_parameters_dict(),
         },
     }
 

Reply via email to