Update chat function to use gpt-5-chat-latest model
This commit is contained in:
parent
516cb58a97
commit
71b3f47496
1 changed files with 1 additions and 1 deletions
2
misc.py
2
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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue