From 6df1bc229857e10fdc66b543efa3f6a8587dcdfd Mon Sep 17 00:00:00 2001 From: Tung Nguyen Date: Mon, 11 Aug 2025 20:46:28 +0700 Subject: [PATCH] feat: add support for new GPT-5 models in chat module --- modules/llm/chat.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/llm/chat.py b/modules/llm/chat.py index 9b87ba7..9333898 100644 --- a/modules/llm/chat.py +++ b/modules/llm/chat.py @@ -10,6 +10,10 @@ from ..utils import ensure_package, tensor2pil, pil2base64 gpt_vision_models = [ + "gpt-5", + "gpt-5-mini", + "gpt-5-nano", + "gpt-5-chat-latest", "gpt-4o", "gpt-4o-mini", "gpt-4.1",