WaelDahech commited on
Commit
16b2b83
·
1 Parent(s): 2309d74

add openai req

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ openai_api_key = os.getenv("OPENAI_API_KEY")
33
  from smolagents import OpenAIServerModel
34
 
35
  model = OpenAIServerModel(
36
- model_id="gpt-4.1", # or "gpt-3.5-turbo", etc.
37
  api_base="https://api.openai.com/v1", # OpenAI’s standard endpoint
38
  api_key=openai_api_key # your secret key
39
  ) # :contentReference[oaicite:1]{index=1}
 
33
  from smolagents import OpenAIServerModel
34
 
35
  model = OpenAIServerModel(
36
+ model_id="gpt-4o", # or "gpt-3.5-turbo", etc.
37
  api_base="https://api.openai.com/v1", # OpenAI’s standard endpoint
38
  api_key=openai_api_key # your secret key
39
  ) # :contentReference[oaicite:1]{index=1}