Open piobogiwo opened 1 month ago
Did some digging into this and it looks like Jupyter notebooks are running an event loop in the background.
The sync client is wrapping the async, and attempts to get the running loop. Since Jupyter is running one, this is what it's getting. I'm going to look into how we might address this, but for the time being, if you use the AsyncClient it will function correctly
When calling a r2r we get : Future pending cb=[ _chain_future.._call_check_cancel() ]
(regardles if run in a docker or by plain r2r serve) from jupyter notebook (tried all: windows 11 native and ubuntu-wsl, installed in conda/pyenv environment)
Similar if docker is switched off.
The same reaction when calling:
When calling just : client Response is: <sdk.sync_client.R2RClient at 0x131a9561bb0>
r2r is running well in a docker and dashboard can be accessed, but connection via python is hanging.