Skip to content

Commit 04b097d

Browse files
committed
fix(RemoveStrictSchema): remove strict schema check
Strict schema does not work with optional args.
1 parent 9b299aa commit 04b097d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/uipath/_cli/_evals/mocks/input_mocker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def generate_llm_input(
8989
"type": "json_schema",
9090
"json_schema": {
9191
"name": "agent_input",
92-
"strict": True,
92+
"strict": False,
9393
"schema": input_schema,
9494
},
9595
}

src/uipath/_cli/_evals/mocks/llm_mocker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async def response(
113113
"type": "json_schema",
114114
"json_schema": {
115115
"name": "OutputSchema",
116-
"strict": True,
116+
"strict": False,
117117
"schema": _cleanup_schema(output_schema),
118118
},
119119
}

0 commit comments

Comments
 (0)