Skip to content

Commit 7e7caf9

Browse files
feat(api): api update
1 parent 3c74ca0 commit 7e7caf9

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: 168bdf5a611596d39812ce7259416529
2+
openapi_spec_hash: 1ef62145e2247a442b75c87b23267e2d
33
config_hash: 8f6e5c3b064cbb77569a6bf654954a56

src/codex/resources/projects/query_logs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def list_groups(
286286
List[Literal["hallucination", "search_failure", "unhelpful", "difficult_query", "ungrounded"]]
287287
]
288288
| NotGiven = NOT_GIVEN,
289-
sort: Optional[Literal["created_at", "primary_eval_issue_score", "total_count", "custom_rank"]]
289+
sort: Optional[Literal["created_at", "primary_eval_issue_score", "total_count", "custom_rank", "impact_score"]]
290290
| NotGiven = NOT_GIVEN,
291291
was_cache_hit: Optional[bool] | NotGiven = NOT_GIVEN,
292292
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -646,7 +646,7 @@ def list_groups(
646646
List[Literal["hallucination", "search_failure", "unhelpful", "difficult_query", "ungrounded"]]
647647
]
648648
| NotGiven = NOT_GIVEN,
649-
sort: Optional[Literal["created_at", "primary_eval_issue_score", "total_count", "custom_rank"]]
649+
sort: Optional[Literal["created_at", "primary_eval_issue_score", "total_count", "custom_rank", "impact_score"]]
650650
| NotGiven = NOT_GIVEN,
651651
was_cache_hit: Optional[bool] | NotGiven = NOT_GIVEN,
652652
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.

src/codex/types/projects/query_log_list_groups_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class QueryLogListGroupsParams(TypedDict, total=False):
4444
]
4545
"""Filter logs that have ANY of these primary evaluation issues (OR operation)"""
4646

47-
sort: Optional[Literal["created_at", "primary_eval_issue_score", "total_count", "custom_rank"]]
47+
sort: Optional[Literal["created_at", "primary_eval_issue_score", "total_count", "custom_rank", "impact_score"]]
4848

4949
was_cache_hit: Optional[bool]
5050
"""Filter by cache hit status"""

0 commit comments

Comments
 (0)