Skip to content

Commit eddd6b2

Browse files
feat(api): api update
1 parent 6d3b8a2 commit eddd6b2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
configured_endpoints: 54
2-
openapi_spec_hash: 928298b295109c995a0b3a8679b441b7
2+
openapi_spec_hash: d01153406f196329a5d5d1efd8f3e50e
33
config_hash: 930284cfa37f835d949c8a1b124f4807

src/codex/resources/projects/projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def validate(
449449
context: str,
450450
query: str,
451451
response: project_validate_params.Response,
452-
use_llm_matching: bool | NotGiven = NOT_GIVEN,
452+
use_llm_matching: Optional[bool] | NotGiven = NOT_GIVEN,
453453
constrain_outputs: Optional[List[str]] | NotGiven = NOT_GIVEN,
454454
custom_eval_thresholds: Optional[Dict[str, float]] | NotGiven = NOT_GIVEN,
455455
custom_metadata: Optional[object] | NotGiven = NOT_GIVEN,
@@ -1022,7 +1022,7 @@ async def validate(
10221022
context: str,
10231023
query: str,
10241024
response: project_validate_params.Response,
1025-
use_llm_matching: bool | NotGiven = NOT_GIVEN,
1025+
use_llm_matching: Optional[bool] | NotGiven = NOT_GIVEN,
10261026
constrain_outputs: Optional[List[str]] | NotGiven = NOT_GIVEN,
10271027
custom_eval_thresholds: Optional[Dict[str, float]] | NotGiven = NOT_GIVEN,
10281028
custom_metadata: Optional[object] | NotGiven = NOT_GIVEN,

src/codex/types/project_validate_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class ProjectValidateParams(TypedDict, total=False):
6666

6767
response: Required[Response]
6868

69-
use_llm_matching: bool
69+
use_llm_matching: Optional[bool]
7070

7171
constrain_outputs: Optional[List[str]]
7272

0 commit comments

Comments
 (0)