Skip to content

Commit 632ecc8

Browse files
committed
chore: switch to gpt-5 by default
Signed-off-by: Donnie Adams <[email protected]> Signed-off-by: Donnie Adams <[email protected]>
1 parent d9f98e3 commit 632ecc8

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

pkg/controller/handlers/toolreference/toolreference.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ func (h *Handler) Populate(req router.Request, resp router.Response) error {
240240

241241
func (h *Handler) EnsureOpenAIEnvCredentialAndDefaults(ctx context.Context, c client.Client) error {
242242
return h.ensureModelProviderCredAndDefaults(ctx, c, map[types.DefaultModelAliasType]string{
243-
types.DefaultModelAliasTypeLLM: "gpt-4.1",
244-
types.DefaultModelAliasTypeLLMMini: "gpt-4.1-mini",
245-
types.DefaultModelAliasTypeVision: "gpt-4.1",
243+
types.DefaultModelAliasTypeLLM: "gpt-5",
244+
types.DefaultModelAliasTypeLLMMini: "gpt-5-mini",
245+
types.DefaultModelAliasTypeVision: "gpt-5",
246246
types.DefaultModelAliasTypeImageGeneration: "dall-e-3",
247247
types.DefaultModelAliasTypeTextEmbedding: "text-embedding-3-large",
248248
}, "openai-model-provider", "OPENAI_API_KEY")

pkg/services/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ type Config struct {
8282
AllowedOrigin string `usage:"Allowed origin for CORS"`
8383
ToolRegistries []string `usage:"The remote tool references to the set of gptscript tool registries to use" default:"github.com/obot-platform/tools"`
8484
WorkspaceProviderType string `usage:"The type of workspace provider to use for non-knowledge workspaces" default:"directory" env:"OBOT_WORKSPACE_PROVIDER_TYPE"`
85-
HelperModel string `usage:"The model used to generate names and descriptions" default:"gpt-4.1-mini"`
85+
HelperModel string `usage:"The model used to generate names and descriptions" default:"gpt-5-mini"`
8686
EmailServerName string `usage:"The name of the email server to display for email receivers"`
8787
EnableSMTPServer bool `usage:"Enable SMTP server to receive emails" default:"false" env:"OBOT_ENABLE_SMTP_SERVER"`
8888
Docker bool `usage:"Enable Docker support" default:"false" env:"OBOT_DOCKER"`

ui/admin/app/components/model/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ export const SUGGESTED_MODEL_SELECTIONS: Record<
44
ModelAlias,
55
string | undefined
66
> = {
7-
[ModelAlias.Llm]: "gpt-4.1",
8-
[ModelAlias.LlmMini]: "gpt-4.1-mini",
7+
[ModelAlias.Llm]: "gpt-5",
8+
[ModelAlias.LlmMini]: "gpt-5-mini",
99
[ModelAlias.TextEmbedding]: "text-embedding-3-large",
1010
[ModelAlias.ImageGeneration]: "dall-e-3",
11-
[ModelAlias.Vision]: "gpt-4.1",
11+
[ModelAlias.Vision]: "gpt-5",
1212
};

ui/user/src/lib/components/admin/DefaultModels.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
let showSkip = $state(false);
3434
3535
const SUGGESTED_MODEL_SELECTIONS: Record<ModelAlias, string> = {
36-
[ModelAlias.Llm]: 'gpt-4.1',
37-
[ModelAlias.LlmMini]: 'gpt-4.1-mini',
36+
[ModelAlias.Llm]: 'gpt-5',
37+
[ModelAlias.LlmMini]: 'gpt-5-mini',
3838
[ModelAlias.TextEmbedding]: 'text-embedding-3-large',
3939
[ModelAlias.ImageGeneration]: 'dall-e-3',
40-
[ModelAlias.Vision]: 'gpt-4.1'
40+
[ModelAlias.Vision]: 'gpt-5'
4141
};
4242
4343
export function open(updateShowSkip = false) {

0 commit comments

Comments
 (0)