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 ee70cc6  [hotfix] fix parameter name inconsistency in ollama example 
(#116)
ee70cc6 is described below

commit ee70cc652682233897de6d7d00510c3b47107324
Author: Eugene <105473769+greateugen...@users.noreply.github.com>
AuthorDate: Mon Aug 18 19:11:56 2025 +0800

    [hotfix] fix parameter name inconsistency in ollama example (#116)
---
 python/flink_agents/examples/chat_ollama_exmaple.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/flink_agents/examples/chat_ollama_exmaple.py 
b/python/flink_agents/examples/chat_ollama_exmaple.py
index 5a5aa9f..ae6d4a5 100644
--- a/python/flink_agents/examples/chat_ollama_exmaple.py
+++ b/python/flink_agents/examples/chat_ollama_exmaple.py
@@ -58,7 +58,7 @@ class MyAgent(Agent):
         """ChatModel which focus on math, and reuse ChatModelServer."""
         return OllamaChatModelSetup, {
             "name": "math_chat_model",
-            "server": "ollama_server",
+            "connection": "ollama_server",
             "tools": ["add"],
         }
 
@@ -68,7 +68,7 @@ class MyAgent(Agent):
         """ChatModel which focus on text generate, and reuse 
ChatModelServer."""
         return OllamaChatModelSetup, {
             "name": "creative_chat_model",
-            "server": "ollama_server",
+            "connection": "ollama_server",
         }
 
     @tool

Reply via email to