Skip to content

Commit 01b221c

Browse files
committed
chore: support for eval command
1 parent 93e915c commit 01b221c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/uipath_llamaindex/_cli/cli_run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def llamaindex_run_middleware(
3131

3232
async def execute():
3333
context = UiPathLlamaIndexRuntimeContext.from_config(
34-
env.get("UIPATH_CONFIG_PATH", "uipath.json")
34+
env.get("UIPATH_CONFIG_PATH", "uipath.json"), **kwargs
3535
)
3636
context.config = config
3737
context.entrypoint = entrypoint
@@ -40,6 +40,7 @@ async def execute():
4040
context.debug = kwargs.get("debug", False)
4141
context.input_file = kwargs.get("input_file", None)
4242
context.execution_output_file = kwargs.get("execution_output_file", None)
43+
context.eval_run = kwargs.get("eval_run", False)
4344
context.logs_min_level = env.get("LOG_LEVEL", "INFO")
4445
context.job_id = env.get("UIPATH_JOB_KEY")
4546
context.trace_id = env.get("UIPATH_TRACE_ID")

0 commit comments

Comments
 (0)