From dcdd6f3703782e5d3504bd6f0c68bdb594cca92e Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Fri, 16 Aug 2024 13:40:47 +0000 Subject: [PATCH] feat(api): add chatgpt-4o-latest model --- .stats.yml | 2 +- chat.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 185585b..e9aeeaa 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 68 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-8ff62fa1091460d68fbd36d72c17d91b709917bebf2983c9c4de5784bc384a2e.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-8e569a23f15a599dd4aee8a53431962bcba4985ab6cfb66c53c1434b99026b37.yml diff --git a/chat.go b/chat.go index d6e46a7..d037769 100644 --- a/chat.go +++ b/chat.go @@ -33,6 +33,7 @@ const ( ChatModelGPT4o ChatModel = "gpt-4o" ChatModelGPT4o2024_05_13 ChatModel = "gpt-4o-2024-05-13" ChatModelGPT4o2024_08_06 ChatModel = "gpt-4o-2024-08-06" + ChatModelChatgpt4oLatest ChatModel = "chatgpt-4o-latest" ChatModelGPT4oMini ChatModel = "gpt-4o-mini" ChatModelGPT4oMini2024_07_18 ChatModel = "gpt-4o-mini-2024-07-18" ChatModelGPT4Turbo ChatModel = "gpt-4-turbo"