Is GPT-5 supported?
# agents
f
Is GPT-5 supported?
m
Yup!
f
Hmm, most of my requests seem to be timing out
🤔 1
m
But not all?
f
not all - i think it's just thinking too long.
tho my agent is set up to let gemini think for up to 10 sec
m
Oh hm, and perhaps we close the connection. Any gotchas there @refined-appointment-81829 ?
f
also i dont think we can pass a reason param into it yet
r
I will have to give it a try. I've not tried GPT-5 yet today. Will test
🙌 1
f
Thanks - I'm excited to see if it can outperform Gemini for use cases that need a small amount of reasoning capabilities.
b
i think Livekit needs to make minor changes to allow for
reasoning_effort
to be set to
minimal
for low-latency voice use cases. This was only just added upstream in the official openai python SDK https://github.com/openai/openai-python/releases/tag/v1.99.2
👍 2
r
I was just going to ask if you notice the timeout on "hard" response versus simple response. I just went through my normal (easy) conversation with GTP-5 and it was fine. I will try something that will take more reasoning.
f
Yeah our use case is pretty hard tbh.
But we're OK with longer TTFB, I think livekit it just prematurely hanging up the request
I don't think the livekit gemini plugin has this issue, or at least we havent noticed it. It's not uncommon for our agent to think for 5-10s before responding.
r
Gemini plugin may have a little different handling than the OpenAI one. I am able to reproduce what you see. I will share my results with the team.
f
Thanks! Y'all are always quick with the support 🙂
🙏 2
r
We love hearing from you, Bryan. You always at the cutting edge.
❤️ 1
d
yup, this is due to reasoning_effort. I played around with it and this PR seems to work pretty well. I'm still seeing pretty high TTFT though (0.7-1.3s), it's unclear if it's just launch-day traffic or something inherent with the model
🙌 3