I am curious, if it is possible to update a session directly from my server, NOT through the WebRTC channel. So…
-
in my app (on iphone) I connect to the api endpoint via WebRTC with an ephemeral key, and I have specified some tools.
-
when a tool is called, my app receives the response.function_call_arguments.done datatype, and I send that data to my server to process.
Now, I have the session_ID and event_ID, so I was hoping to send an update directly from my server, but the ephemeral key is now expired. Wouldn’t it be great to avoid another trip back to the app? Perhaps using the original key or another ephemeral? Or is this an annoying CORS type concern?