https://retellai.com/?utm_source=discord&utm_medium=seo logo
How to use my Custom LLM ID with websocket agents?
# ❓・bug-report
j
Can't find anything on this. i want to use my custom llm id to initiate outbound calls for my websocket agent. is this possible?
e
@Florian - support @ Retell AI can you check this one?
f
I think this is what you're looking for: https://docs.retellai.com/api-references/create-agent hidden in Option 2 Create an Agent, then associate the agent with a phone number or override agent id with this: https://docs.retellai.com/api-references/create-phone-call
j
Hey man. apprecaite the response. so as far as I can see you have to choose between custom llm id or websocket url. yo ucan't have both? (I want an agent connected to my live websocket, using my custom retell llm id as response engine, prompts etc, and make outbound phone calls)?
f
the first one is acutally an enum with only one option 🙂 so just set it to custom-llm
and the second one is your websocket url
j
yeah i see. was hoping I could use retell multiprompt functionality with my live websocket though. seems not possible 😦
i could get by using openai sdk
f
if you have a custom LLM you are a bit on your own. Why not use Retell LLM?
j
for my use case i need to communicate periodically to my agent live on call. was hoping i could achieve that through websocket