Skip to content

Commit 272030b

Browse files
feat(api): api update
1 parent 7652365 commit 272030b

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
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: 44
2-
openapi_spec_hash: 056bc3805c2373563a6585103edd5cb8
2+
openapi_spec_hash: 9d81a4b0eca6d3629ba9d5432a65655c
33
config_hash: 659f65b6ccf5612986f920f7f9abbcb5

src/codex/resources/projects/clusters.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ def list(
5050
self,
5151
project_id: str,
5252
*,
53-
eval_issue_types: List[Literal["hallucination", "search_failure", "unhelpful", "difficult_query"]]
53+
eval_issue_types: List[
54+
Literal["hallucination", "search_failure", "unhelpful", "difficult_query", "unsupported"]
55+
]
5456
| NotGiven = NOT_GIVEN,
5557
instruction_adherence_failure: Optional[Literal["html_format", "content_structure"]] | NotGiven = NOT_GIVEN,
5658
limit: int | NotGiven = NOT_GIVEN,
@@ -177,7 +179,9 @@ def list(
177179
self,
178180
project_id: str,
179181
*,
180-
eval_issue_types: List[Literal["hallucination", "search_failure", "unhelpful", "difficult_query"]]
182+
eval_issue_types: List[
183+
Literal["hallucination", "search_failure", "unhelpful", "difficult_query", "unsupported"]
184+
]
181185
| NotGiven = NOT_GIVEN,
182186
instruction_adherence_failure: Optional[Literal["html_format", "content_structure"]] | NotGiven = NOT_GIVEN,
183187
limit: int | 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", "difficult_query"]]
12+
eval_issue_types: List[Literal["hallucination", "search_failure", "unhelpful", "difficult_query", "unsupported"]]
1313

1414
instruction_adherence_failure: Optional[Literal["html_format", "content_structure"]]
1515

src/codex/types/projects/entry_notify_sme_params.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,13 @@ class EntryNotifySmeParams(TypedDict, total=False):
1818
class ViewContext(TypedDict, total=False):
1919
page: Required[int]
2020

21-
filter: Literal["unanswered", "answered", "all", "hallucination", "search_failure", "unhelpful", "difficult_query"]
21+
filter: Literal[
22+
"unanswered",
23+
"answered",
24+
"all",
25+
"hallucination",
26+
"search_failure",
27+
"unhelpful",
28+
"difficult_query",
29+
"unsupported",
30+
]

0 commit comments

Comments
 (0)