Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
* the model is allowed to call.
*/
public class ChatModelIntegrationAgent extends Agent {
public static final String OLLAMA_MODEL = "qwen3:0.6b";
public static final String OLLAMA_MODEL = "qwen3:8b";

@ChatModelConnection
public static ResourceDescriptor chatModelConnection() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
import static org.apache.flink.agents.integration.test.OllamaPreparationUtils.pullModel;

public class ReActAgentTest {
public static final String OLLAMA_MODEL = "qwen3:1.7b";
public static final String OLLAMA_MODEL = "qwen3:8b";

@org.apache.flink.agents.api.annotation.Tool(
description = "Useful function to add two numbers.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def math_chat_model() -> ResourceDescriptor:
return ResourceDescriptor(
clazz=OllamaChatModelSetup,
connection="ollama_connection",
model=os.environ.get("OLLAMA_CHAT_MODEL", "qwen3:1.7b"),
model=os.environ.get("OLLAMA_CHAT_MODEL", "qwen3:8b"),
tools=["add"],
extract_reasoning=True,
)
Expand Down Expand Up @@ -114,7 +114,7 @@ def creative_chat_model() -> ResourceDescriptor:
return ResourceDescriptor(
clazz=TongyiChatModelSetup,
connection="ollama_connection",
model=os.environ.get("OLLAMA_CHAT_MODEL", "qwen3:1.7b"),
model=os.environ.get("OLLAMA_CHAT_MODEL", "qwen3:8b"),
extract_reasoning=True,
)
elif model_provider == "OpenAI":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

TONGYI_MODEL = os.environ.get("TONGYI_CHAT_MODEL", "qwen-plus")
os.environ["TONGYI_CHAT_MODEL"] = TONGYI_MODEL
OLLAMA_MODEL = os.environ.get("OLLAMA_CHAT_MODEL", "qwen3:1.7b")
OLLAMA_MODEL = os.environ.get("OLLAMA_CHAT_MODEL", "qwen3:8b")
os.environ["OLLAMA_CHAT_MODEL"] = OLLAMA_MODEL
OPENAI_MODEL = os.environ.get("OPENAI_CHAT_MODEL", "gpt-3.5-turbo")
os.environ["OPENAI_CHAT_MODEL"] = OPENAI_MODEL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
OllamaChatModelSetup,
)

OLLAMA_MODEL = os.environ.get("MCP_OLLAMA_CHAT_MODEL", "qwen3:1.7b")
OLLAMA_MODEL = os.environ.get("MCP_OLLAMA_CHAT_MODEL", "qwen3:8b")
MCP_SERVER_ENDPOINT = "http://127.0.0.1:8000/mcp"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

os.environ["PYTHONPATH"] = sysconfig.get_paths()["purelib"]

OLLAMA_MODEL = os.environ.get("REACT_OLLAMA_MODEL", "qwen3:1.7b")
OLLAMA_MODEL = os.environ.get("REACT_OLLAMA_MODEL", "qwen3:8b")
os.environ["OLLAMA_CHAT_MODEL"] = OLLAMA_MODEL


Expand Down
Loading