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 e623658 [hotfix] Fix ollama chat model test failure. (#141) e623658 is described below commit e623658347b18f2d95cf38ea3fc29607b36259a2 Author: Wenjin Xie <166717626+wenjin...@users.noreply.github.com> AuthorDate: Thu Sep 4 10:59:19 2025 +0800 [hotfix] Fix ollama chat model test failure. (#141) --- python/flink_agents/integrations/chat_models/ollama_chat_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/flink_agents/integrations/chat_models/ollama_chat_model.py b/python/flink_agents/integrations/chat_models/ollama_chat_model.py index d63cf21..fa9935f 100644 --- a/python/flink_agents/integrations/chat_models/ollama_chat_model.py +++ b/python/flink_agents/integrations/chat_models/ollama_chat_model.py @@ -98,7 +98,7 @@ class OllamaChatModelConnection(BaseChatModelConnection): # Convert tool format ollama_tools = None if tools is not None: - ollama_tools = [to_openai_tool(tool.metadata) for tool in tools] + ollama_tools = [to_openai_tool(metadata=tool.metadata) for tool in tools] response = self.client.chat( model=self.model,