From d42852da1fc57291b3657fc86df75da222b2b074 Mon Sep 17 00:00:00 2001 From: "nick.yi" Date: Thu, 26 Nov 2026 14:14:47 +0800 Subject: [PATCH] chore: remove Gpt4xModelConstants and move Code Driver agent to gpt-6-luna Nothing references the GPT-4o constants any more, and GPT-4o shuts down on 2027-01-14. The Code Driver built-in agent was the last one still on gpt-4o. Co-Authored-By: Claude Opus 5.5 --- .../BotSharp.Abstraction/Models/Gpt4xModelConstants.cs | 8 -------- .../c0ded7d9-3f9d-4ef6-b7ce-56a892dcef62/agent.json | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 src/Infrastructure/BotSharp.Abstraction/Models/Gpt4xModelConstants.cs diff --git a/src/Infrastructure/BotSharp.Abstraction/Models/Gpt4xModelConstants.cs b/src/Infrastructure/BotSharp.Abstraction/Models/Gpt4xModelConstants.cs deleted file mode 100644 index 649224905..000000000 --- a/src/Infrastructure/BotSharp.Abstraction/Models/Gpt4xModelConstants.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace BotSharp.Abstraction.Models; - -public static class Gpt4xModelConstants -{ - public const string GPT_4o = "gpt-4o"; - public const string GPT_4o_Mini = "gpt-4o-mini"; - public const string GPT_4o_Search_Preview = "gpt-4o-search-preview"; -} diff --git a/src/Plugins/BotSharp.Plugin.CodeDriver/data/agents/c0ded7d9-3f9d-4ef6-b7ce-56a892dcef62/agent.json b/src/Plugins/BotSharp.Plugin.CodeDriver/data/agents/c0ded7d9-3f9d-4ef6-b7ce-56a892dcef62/agent.json index 038c969e4..e7c00c8cf 100644 --- a/src/Plugins/BotSharp.Plugin.CodeDriver/data/agents/c0ded7d9-3f9d-4ef6-b7ce-56a892dcef62/agent.json +++ b/src/Plugins/BotSharp.Plugin.CodeDriver/data/agents/c0ded7d9-3f9d-4ef6-b7ce-56a892dcef62/agent.json @@ -11,7 +11,7 @@ "profiles": [ "coding" ], "llmConfig": { "provider": "openai", - "model": "gpt-4o", + "model": "gpt-6-luna", "max_recursion_depth": 10 } } \ No newline at end of file