Skip to content

Commit 94bacaf

Browse files
feat(api): api update
1 parent e745063 commit 94bacaf

File tree

6 files changed

+46
-1
lines changed

6 files changed

+46
-1
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: 70
2-
openapi_spec_hash: 022a28b575651c2f21f43b1148141ce3
2+
openapi_spec_hash: 11279400677011ad5dc1ebba33216ae4
33
config_hash: aad16f20fed13ac50211fc1d0e2ea621

src/codex/types/projects/query_log_list_by_group_response.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,15 @@ class QueryLogsByGroupQueryLog(BaseModel):
523523
primary_eval_issue_score: Optional[float] = None
524524
"""Score of the primary eval issue"""
525525

526+
system_prompt: Optional[str] = None
527+
"""
528+
Content of the first system message associated with this query log, if
529+
available.
530+
"""
531+
532+
system_prompt_hash: Optional[str] = None
533+
"""SHA-256 hash of the system prompt content for quick equality checks."""
534+
526535
tools: Optional[List[QueryLogsByGroupQueryLogTool]] = None
527536
"""Tools to use for the LLM call.
528537

src/codex/types/projects/query_log_list_groups_response.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,15 @@ class QueryLogListGroupsResponse(BaseModel):
518518
primary_eval_issue_score: Optional[float] = None
519519
"""Score of the primary eval issue"""
520520

521+
system_prompt: Optional[str] = None
522+
"""
523+
Content of the first system message associated with this query log, if
524+
available.
525+
"""
526+
527+
system_prompt_hash: Optional[str] = None
528+
"""SHA-256 hash of the system prompt content for quick equality checks."""
529+
521530
tools: Optional[List[Tool]] = None
522531
"""Tools to use for the LLM call.
523532

src/codex/types/projects/query_log_list_response.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,15 @@ class QueryLogListResponse(BaseModel):
503503
primary_eval_issue_score: Optional[float] = None
504504
"""Score of the primary eval issue"""
505505

506+
system_prompt: Optional[str] = None
507+
"""
508+
Content of the first system message associated with this query log, if
509+
available.
510+
"""
511+
512+
system_prompt_hash: Optional[str] = None
513+
"""SHA-256 hash of the system prompt content for quick equality checks."""
514+
506515
tools: Optional[List[Tool]] = None
507516
"""Tools to use for the LLM call.
508517

src/codex/types/projects/query_log_retrieve_response.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,15 @@ class QueryLogRetrieveResponse(BaseModel):
517517
primary_eval_issue_score: Optional[float] = None
518518
"""Score of the primary eval issue"""
519519

520+
system_prompt: Optional[str] = None
521+
"""
522+
Content of the first system message associated with this query log, if
523+
available.
524+
"""
525+
526+
system_prompt_hash: Optional[str] = None
527+
"""SHA-256 hash of the system prompt content for quick equality checks."""
528+
520529
tools: Optional[List[Tool]] = None
521530
"""Tools to use for the LLM call.
522531

src/codex/types/projects/remediation_list_resolved_logs_response.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,15 @@ class QueryLog(BaseModel):
510510
primary_eval_issue_score: Optional[float] = None
511511
"""Score of the primary eval issue"""
512512

513+
system_prompt: Optional[str] = None
514+
"""
515+
Content of the first system message associated with this query log, if
516+
available.
517+
"""
518+
519+
system_prompt_hash: Optional[str] = None
520+
"""SHA-256 hash of the system prompt content for quick equality checks."""
521+
513522
tools: Optional[List[QueryLogTool]] = None
514523
"""Tools to use for the LLM call.
515524

0 commit comments

Comments
 (0)