vicpada commited on
Commit
18d4145
·
1 Parent(s): dd83b2b

change model to 4.1 mini

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def generate_completion(query, history, memory):
118
  yield "Error: OpenAI API Key is not set or is invalid. Please provide a valid key."
119
  return
120
 
121
- llm = OpenAI(temperature=0.2, model="gpt-4o-mini", api_key=openAI_api_key)
122
  client = llm._get_client()
123
  logfire.instrument_openai(client)
124
 
 
118
  yield "Error: OpenAI API Key is not set or is invalid. Please provide a valid key."
119
  return
120
 
121
+ llm = OpenAI(temperature=0.2, model="gpt-4.1-mini", api_key=openAI_api_key)
122
  client = llm._get_client()
123
  logfire.instrument_openai(client)
124