Skip to content

Commit 4f39e46

Browse files
feat(api): api update
1 parent 444cd03 commit 4f39e46

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-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: 36
2-
openapi_spec_hash: 6311021a3aba7ac56cc3b474762945c0
2+
openapi_spec_hash: 71ff1de391293cdfb6dcb761ed89210d
33
config_hash: adbedb6317fca6f566f54564cc341846

src/codex/resources/projects/clusters.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def list(
5050
self,
5151
project_id: str,
5252
*,
53-
eval_issue_types: List[Literal["hallucination", "search_failure", "unhelpful"]] | NotGiven = NOT_GIVEN,
53+
eval_issue_types: List[Literal["hallucination", "search_failure", "unhelpful", "difficult_query"]]
54+
| NotGiven = NOT_GIVEN,
5455
limit: int | NotGiven = NOT_GIVEN,
5556
offset: int | NotGiven = NOT_GIVEN,
5657
order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN,
@@ -164,7 +165,8 @@ def list(
164165
self,
165166
project_id: str,
166167
*,
167-
eval_issue_types: List[Literal["hallucination", "search_failure", "unhelpful"]] | NotGiven = NOT_GIVEN,
168+
eval_issue_types: List[Literal["hallucination", "search_failure", "unhelpful", "difficult_query"]]
169+
| NotGiven = NOT_GIVEN,
168170
limit: int | NotGiven = NOT_GIVEN,
169171
offset: int | NotGiven = NOT_GIVEN,
170172
order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN,

src/codex/types/projects/cluster_list_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class ClusterListParams(TypedDict, total=False):
12-
eval_issue_types: List[Literal["hallucination", "search_failure", "unhelpful"]]
12+
eval_issue_types: List[Literal["hallucination", "search_failure", "unhelpful", "difficult_query"]]
1313

1414
limit: int
1515

0 commit comments

Comments
 (0)