From 8822f20d1759602aacbd63443c74358996d49ee5 Mon Sep 17 00:00:00 2001 From: Luis Pater Date: Fri, 6 Mar 2026 02:23:53 +0800 Subject: [PATCH] feat(registry): add GPT 5.4 model definition to static data --- internal/registry/model_definitions_static_data.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/internal/registry/model_definitions_static_data.go b/internal/registry/model_definitions_static_data.go index dcf5debf..1442f539 100644 --- a/internal/registry/model_definitions_static_data.go +++ b/internal/registry/model_definitions_static_data.go @@ -827,6 +827,20 @@ func GetOpenAIModels() []*ModelInfo { SupportedParameters: []string{"tools"}, Thinking: &ThinkingSupport{Levels: []string{"low", "medium", "high", "xhigh"}}, }, + { + ID: "gpt-5.4", + Object: "model", + Created: 1772668800, + OwnedBy: "openai", + Type: "openai", + Version: "gpt-5.4", + DisplayName: "GPT 5.4", + Description: "Stable version of GPT 5.4 Codex, The best model for coding and agentic tasks across domains.", + ContextLength: 1_050_000, + MaxCompletionTokens: 128000, + SupportedParameters: []string{"tools"}, + Thinking: &ThinkingSupport{Levels: []string{"low", "medium", "high", "xhigh"}}, + }, } }