https://retellai.com/?utm_source=discord&utm_medium=seo logo
Retell not allowing us to switch back from 4o from...
# ❓・bug-report
j
We need it because our prompts work best with 4o and without announcement it's switching all our prompts over to 4.1 directly. Is there a way we can stick to 4o for now?
@AI Evy
a
Thanks for tagging me @jsdknvm_92719. I'll look through relevant sources and get back to you shortly.
### Answer You can explicitly set the model to gpt-4o when creating or updating your Retell LLM Response Engine to ensure your prompts use gpt-4o. In the API, the model parameter allows you to specify "gpt-4o" as the underlying text LLM. If you don't set this parameter, it will default to gpt-4.1, which could explain why your agents are switching over [(1) ]() [(2) ]() [(3) ]() [(4) ]() . When creating or updating your LLM, set:
Copy code
json
"model": "gpt-4o"
in your request body . If you're using the SDK, your update or create call should look like:
Copy code
javascript
const llmResponse = await client.llm.update('YOUR_LLM_ID', {
  model: 'gpt-4o',
  // ...other config
}) ;
or
Copy code
javascript
const llmResponse = await client.llm.create({
  model: 'gpt-4o',
  // ...other config
}) ;
This will keep your agent using gpt-4o as long as the model remains available .
​ To learn more, see the sources I considered: [[1] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) [[2] Create Retell LLM](https://docs.retellai.com/api-references/create-retell-llm) [[3] List Retell LLMs](https://docs.retellai.com/api-references/list-retell-llms) [[4] Get Retell LLM](https://docs.retellai.com/api-references/get-retell-llm) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.