Skip to content
Discussion options

You must be logged in to vote

Hi @sudhe-er,

I'm not sure I can follow you. We use the official OpenAI SDK to integrate with OpenAI. Specifically we are using the runTools convenience feature. There we can hand over tools as functions and the OpenAI SDK makes sure to call them when the LLM indicates to.

Internally this just calls the tool, places the result in a new message and sends a new request to OpenAI. All of these are just regular HTTP calls.

Internally we are using Theia RCP to bridge the function calls from the backend to the frontend, but this is only an implementation detail of Theia, unrelated to the OpenAI SDK.

AFAIK websockets are used for realtime use cases like voice which we do not support (yet) in Theia.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sudhe-er
Comment options

@sdirix
Comment options

sdirix Sep 4, 2025
Collaborator

Answer selected by sudhe-er
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants