File tree Expand file tree Collapse file tree
src/uipath_llamaindex/_cli/_runtime Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[project ]
22name = " uipath-llamaindex"
3- version = " 0.0.13 "
3+ version = " 0.0.14 "
44description = " UiPath LlamaIndex SDK"
55readme = { file = " README.md" , content-type = " text/markdown" }
66requires-python = " >=3.10"
Original file line number Diff line number Diff line change 1212 InputRequiredEvent ,
1313 JsonPickleSerializer ,
1414)
15+ from llama_index .core .workflow .handler import WorkflowHandler
1516from openinference .instrumentation .llama_index import LlamaIndexInstrumentor
1617from opentelemetry import trace
1718from opentelemetry .sdk .trace import TracerProvider
@@ -69,9 +70,9 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
6970 start_event_class = self .context .workflow ._start_event_class
7071 ev = start_event_class (** self .context .input_json )
7172
72- ctx : Context = self ._get_context ()
73+ ctx : Context = await self ._get_context ()
7374
74- handler = self .context .workflow .run (start_event = ev , ctx = ctx )
75+ handler : WorkflowHandler = self .context .workflow .run (start_event = ev , ctx = ctx , ** self . context . input_json )
7576
7677 resume_trigger : UiPathResumeTrigger = None
7778
You can’t perform that action at this time.
0 commit comments