Skip to content

Commit 22d0bac

Browse files
committed
chore: add eval required params to runtime context
1 parent 72ed309 commit 22d0bac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/uipath_langchain/_cli/cli_run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def langgraph_run_middleware(
3232

3333
async def execute():
3434
context = LangGraphRuntimeContext.from_config(
35-
env.get("UIPATH_CONFIG_PATH", "uipath.json")
35+
env.get("UIPATH_CONFIG_PATH", "uipath.json"), **kwargs
3636
)
3737
context.entrypoint = entrypoint
3838
context.input = input
@@ -42,6 +42,7 @@ async def execute():
4242
context.logs_min_level = env.get("LOG_LEVEL", "INFO")
4343
context.job_id = env.get("UIPATH_JOB_KEY")
4444
context.trace_id = env.get("UIPATH_TRACE_ID")
45+
context.eval_run = kwargs.get("eval_run", False)
4546
context.tracing_enabled = tracing
4647
context.input_file = kwargs.get("input_file", None)
4748
context.execution_output_file = kwargs.get("execution_output_file", None)

0 commit comments

Comments
 (0)