From 71b3f47496a6548826f991d66e72f0cbb10d5150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Sun, 17 Aug 2025 01:51:54 +0200 Subject: [PATCH] Update chat function to use gpt-5-chat-latest model --- misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.py b/misc.py index ae72270..5e3f395 100644 --- a/misc.py +++ b/misc.py @@ -38,7 +38,7 @@ def chat(user_message: str, openai_client: OpenAI) -> str | None: The response from the AI model. """ completion: ChatCompletion = openai_client.chat.completions.create( - model="gpt-4.1", + model="gpt-5-chat-latest", messages=[ { "role": "system",