Skip to content

Commit 6992031

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

File tree

7 files changed

+15
-1
lines changed

7 files changed

+15
-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: 54
2-
openapi_spec_hash: 1ef62145e2247a442b75c87b23267e2d
2+
openapi_spec_hash: 1c6e7d5ed06d72868a57e64381bc473c
33
config_hash: 8f6e5c3b064cbb77569a6bf654954a56

src/codex/types/project_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,4 +333,6 @@ class Config(TypedDict, total=False):
333333

334334
query_use_llm_matching: bool
335335

336+
tlm_evals_model: str
337+
336338
upper_llm_match_distance_threshold: float

src/codex/types/project_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ class ProjectConfig(BaseModel):
323323

324324
query_use_llm_matching: Optional[bool] = None
325325

326+
tlm_evals_model: Optional[str] = None
327+
326328
upper_llm_match_distance_threshold: Optional[float] = None
327329

328330

src/codex/types/project_retrieve_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,8 @@ class Config(BaseModel):
322322

323323
query_use_llm_matching: Optional[bool] = None
324324

325+
tlm_evals_model: Optional[str] = None
326+
325327
upper_llm_match_distance_threshold: Optional[float] = None
326328

327329

src/codex/types/project_return_schema.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,8 @@ class Config(BaseModel):
322322

323323
query_use_llm_matching: Optional[bool] = None
324324

325+
tlm_evals_model: Optional[str] = None
326+
325327
upper_llm_match_distance_threshold: Optional[float] = None
326328

327329

src/codex/types/project_update_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,4 +331,6 @@ class Config(TypedDict, total=False):
331331

332332
query_use_llm_matching: bool
333333

334+
tlm_evals_model: str
335+
334336
upper_llm_match_distance_threshold: float

tests/api_resources/test_projects.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def test_method_create_with_all_params(self, client: Codex) -> None:
118118
"lower_llm_match_distance_threshold": 0,
119119
"max_distance": 0,
120120
"query_use_llm_matching": True,
121+
"tlm_evals_model": "tlm_evals_model",
121122
"upper_llm_match_distance_threshold": 0,
122123
},
123124
name="name",
@@ -293,6 +294,7 @@ def test_method_update_with_all_params(self, client: Codex) -> None:
293294
"lower_llm_match_distance_threshold": 0,
294295
"max_distance": 0,
295296
"query_use_llm_matching": True,
297+
"tlm_evals_model": "tlm_evals_model",
296298
"upper_llm_match_distance_threshold": 0,
297299
},
298300
description="description",
@@ -762,6 +764,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCodex) ->
762764
"lower_llm_match_distance_threshold": 0,
763765
"max_distance": 0,
764766
"query_use_llm_matching": True,
767+
"tlm_evals_model": "tlm_evals_model",
765768
"upper_llm_match_distance_threshold": 0,
766769
},
767770
name="name",
@@ -937,6 +940,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCodex) ->
937940
"lower_llm_match_distance_threshold": 0,
938941
"max_distance": 0,
939942
"query_use_llm_matching": True,
943+
"tlm_evals_model": "tlm_evals_model",
940944
"upper_llm_match_distance_threshold": 0,
941945
},
942946
description="description",

0 commit comments

Comments
 (0)