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

wenjin272 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 beaee3f8 [integration][openai] Update stale default model 
gpt-3.5-turbo to gpt-4o-mini (#906)
beaee3f8 is described below

commit beaee3f8b307da060d9539eef27b3ebb8ac1090f
Author: Weiqing Yang <[email protected]>
AuthorDate: Tue Jul 14 20:38:02 2026 -0700

    [integration][openai] Update stale default model gpt-3.5-turbo to 
gpt-4o-mini (#906)
---
 docs/content/docs/development/chat_models.md                          | 4 ++--
 .../agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java | 2 +-
 .../flink_agents/integrations/chat_models/openai/openai_chat_model.py | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/content/docs/development/chat_models.md 
b/docs/content/docs/development/chat_models.md
index c7b40ae0..51213b73 100644
--- a/docs/content/docs/development/chat_models.md
+++ b/docs/content/docs/development/chat_models.md
@@ -845,7 +845,7 @@ OpenAI provides cloud-based chat models with 
state-of-the-art performance for a
 | Parameter | Type | Default | Description |
 |-----------|------|---------|-------------|
 | `connection` | str | Required | Reference to connection method name |
-| `model` | str | `"gpt-3.5-turbo"` | Name of the chat model to use |
+| `model` | str | `"gpt-4o-mini"` | Name of the chat model to use |
 | `prompt` | Prompt \| str | None | Prompt template or reference to prompt 
resource |
 | `tools` | List[str] | None | List of tool names available to the model |
 | `temperature` | float | `0.1` | Sampling temperature (0.0 to 2.0) |
@@ -863,7 +863,7 @@ OpenAI provides cloud-based chat models with 
state-of-the-art performance for a
 | Parameter | Type | Default | Description |
 |-----------|------|---------|-------------|
 | `connection` | String | Required | Reference to connection method name |
-| `model` | String | `"gpt-3.5-turbo"` | Name of the chat model to use |
+| `model` | String | `"gpt-4o-mini"` | Name of the chat model to use |
 | `prompt` | Prompt \| String | None | Prompt template or reference to prompt 
resource |
 | `tools` | List<String> | None | List of tool names available to the model |
 | `temperature` | double | `0.1` | Sampling temperature (0.0 to 2.0) |
diff --git 
a/integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java
 
b/integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java
index 29ee3753..20495901 100644
--- 
a/integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java
+++ 
b/integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java
@@ -58,7 +58,7 @@ import java.util.Set;
  */
 public class OpenAICompletionsSetup extends BaseChatModelSetup {
 
-    private static final String DEFAULT_MODEL = "gpt-3.5-turbo";
+    private static final String DEFAULT_MODEL = "gpt-4o-mini";
     private static final double DEFAULT_TEMPERATURE = 0.1d;
     private static final int DEFAULT_TOP_LOGPROBS = 0;
     private static final boolean DEFAULT_STRICT = false;
diff --git 
a/python/flink_agents/integrations/chat_models/openai/openai_chat_model.py 
b/python/flink_agents/integrations/chat_models/openai/openai_chat_model.py
index 2e5fe720..0d487772 100644
--- a/python/flink_agents/integrations/chat_models/openai/openai_chat_model.py
+++ b/python/flink_agents/integrations/chat_models/openai/openai_chat_model.py
@@ -35,7 +35,7 @@ from 
flink_agents.integrations.chat_models.openai.openai_utils import (
     resolve_openai_credentials,
 )
 
-DEFAULT_OPENAI_MODEL = "gpt-3.5-turbo"
+DEFAULT_OPENAI_MODEL = "gpt-4o-mini"
 
 
 class OpenAIChatModelConnection(BaseChatModelConnection):

Reply via email to