When I use the OpenAI plugin in LiveKit Agents for...
# ask-ai
n
When I use the OpenAI plugin in LiveKit Agents for LLM, does this call the /chat/completions API or the /responses API?
t
Thanks for reaching out, Peter. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Just a quick heads-up: the OpenAI plugin in LiveKit Agents for LLM uses the
/chat/completions
API, not the
/responses
API. You can see this in both the Python and JavaScript versions of the plugin, which use the OpenAI client library’s
chat.completions.create()
method. If you want me to dive into more details, just let me know—I’m here to help! Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/py.typed | plugins/openai/src/llm.test.ts | LiveKit Agents integrations | LiveKit Docs