Sai siva
05/05/2025, 5:16 PMVapi Support Bot
05/05/2025, 5:18 PMbash
curl -X PATCH https://api.vapi.ai/assistant/YOUR_ASSISTANT_ID \
-H "Authorization: Bearer YOUR_PRIVATE_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": {
"provider": "custom-llm",
"model": "gpt-4o",
"url": "https://YOUR_LANGGRAPH_ENDPOINT/chat/completions"
}
}'
If your LangGraph agent is running locally, use ngrok to create a public URL.
Sources:
- [Custom LLM Tool Calling Integration](https://docs.vapi.ai/documentation/advanced-concepts/customization/custom-llm/custom-llm-tool-calling-integration)
- [Using Your Server](https://docs.vapi.ai/customization/custom-llm/using-your-server)
- [Server SDKs](https://docs.vapi.ai/server-sdks)Sai siva
05/05/2025, 5:34 PMSai siva
05/05/2025, 5:35 PMVapi Support Bot
05/05/2025, 5:36 PMSai siva
05/05/2025, 5:46 PMKings_big💫
05/05/2025, 7:47 PMKings_big💫
05/05/2025, 7:51 PMPigeon
05/06/2025, 6:01 AMchat/completions It also needs to be streaming response.
https://github.com/VapiAI/example-custom-llmChiranjeet Mishra
05/10/2025, 10:38 PM