Skip to content
Closed
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
6 changes: 3 additions & 3 deletions pkg/controller/handlers/toolreference/toolreference.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ func (h *Handler) Populate(req router.Request, resp router.Response) error {

func (h *Handler) EnsureOpenAIEnvCredentialAndDefaults(ctx context.Context, c client.Client) error {
return h.ensureModelProviderCredAndDefaults(ctx, c, map[types.DefaultModelAliasType]string{
types.DefaultModelAliasTypeLLM: "gpt-4.1",
types.DefaultModelAliasTypeLLMMini: "gpt-4.1-mini",
types.DefaultModelAliasTypeVision: "gpt-4.1",
types.DefaultModelAliasTypeLLM: "gpt-5",
types.DefaultModelAliasTypeLLMMini: "gpt-5-mini",
types.DefaultModelAliasTypeVision: "gpt-5",
types.DefaultModelAliasTypeImageGeneration: "dall-e-3",
types.DefaultModelAliasTypeTextEmbedding: "text-embedding-3-large",
}, "openai-model-provider", "OPENAI_API_KEY")
Expand Down
2 changes: 1 addition & 1 deletion pkg/services/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type Config struct {
AllowedOrigin string `usage:"Allowed origin for CORS"`
ToolRegistries []string `usage:"The remote tool references to the set of gptscript tool registries to use" default:"github.com/obot-platform/tools"`
WorkspaceProviderType string `usage:"The type of workspace provider to use for non-knowledge workspaces" default:"directory" env:"OBOT_WORKSPACE_PROVIDER_TYPE"`
HelperModel string `usage:"The model used to generate names and descriptions" default:"gpt-4.1-mini"`
HelperModel string `usage:"The model used to generate names and descriptions" default:"gpt-5-mini"`
EmailServerName string `usage:"The name of the email server to display for email receivers"`
EnableSMTPServer bool `usage:"Enable SMTP server to receive emails" default:"false" env:"OBOT_ENABLE_SMTP_SERVER"`
Docker bool `usage:"Enable Docker support" default:"false" env:"OBOT_DOCKER"`
Expand Down
6 changes: 3 additions & 3 deletions ui/admin/app/components/model/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ export const SUGGESTED_MODEL_SELECTIONS: Record<
ModelAlias,
string | undefined
> = {
[ModelAlias.Llm]: "gpt-4.1",
[ModelAlias.LlmMini]: "gpt-4.1-mini",
[ModelAlias.Llm]: "gpt-5",
[ModelAlias.LlmMini]: "gpt-5-mini",
[ModelAlias.TextEmbedding]: "text-embedding-3-large",
[ModelAlias.ImageGeneration]: "dall-e-3",
[ModelAlias.Vision]: "gpt-4.1",
[ModelAlias.Vision]: "gpt-5",
};
6 changes: 3 additions & 3 deletions ui/user/src/lib/components/admin/DefaultModels.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
let showSkip = $state(false);

const SUGGESTED_MODEL_SELECTIONS: Record<ModelAlias, string> = {
[ModelAlias.Llm]: 'gpt-4.1',
[ModelAlias.LlmMini]: 'gpt-4.1-mini',
[ModelAlias.Llm]: 'gpt-5',
[ModelAlias.LlmMini]: 'gpt-5-mini',
[ModelAlias.TextEmbedding]: 'text-embedding-3-large',
[ModelAlias.ImageGeneration]: 'dall-e-3',
[ModelAlias.Vision]: 'gpt-4.1'
[ModelAlias.Vision]: 'gpt-5'
};

export function open(updateShowSkip = false) {
Expand Down
Loading