You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use Context._create_internal to get InternalContext in breakpoint wrapper
the step config patching approach failed because the llama_index
instrumentation dispatcher validates kwargs against the original function
signature via inspect.signature().bind(), rejecting the injected param.
instead, create an InternalContext directly via Context._create_internal(workflow).
this works because the wrapper runs inside the step worker where
StepWorkerStateContextVar is already set by the framework.
0 commit comments