Troubleshooting Phoenix 3.0 Eval Context Detachment Error
Hi -- I'm running code with Phoenix 3.0 where I create queries and then switch to an eval context for evaluation. I'm getting a non-catastrophic error with every query I evaluate:
0%| | 0/3 [00:00<?, ?it/s]Failed to detach context
Traceback (most recent call last):
File "C:\Users\test\Lib\site-packages\opentelemetry\context\__init__.py", line 163, in detach
_RUNTIME_CONTEXT.detach(token) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\test\Lib\site-packages\opentelemetry\context\contextvars_context.py", line 50, in detach
self._current_context.reset(token) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: <Token var=<ContextVar name='current_context' default={} at 0x000001F8423CA570> at 0x000001F84262A840> was created in a different ContextPhoenix still seems to log the information ok, but I was wondering if there's any lasting negative implication (besides the error message, which would be great to eliminate, since it already says #type: ignore). I can demonstrate in a live session with someone if it helps. Regards, David
