Skip to content

Commit 9abf6d5

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(python): expand model_type rename to paths as well (#2156)
1 parent 503ab54 commit 9abf6d5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1417
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-cc1685d89cdcb1a8b9f5eada60808601470876a497be8898010890736c20e77f.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-2d63750bcbd8172347f67b96d9f915bb7a400716f6e6d2088e6c00bef8b1e0a8.yml

src/cloudflare/types/ai_gateway/log_get_response.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class LogGetResponse(BaseModel):
3737

3838
metadata: Optional[str] = None
3939

40-
api_model_type: Optional[str] = FieldInfo(alias="model_type", default=None)
40+
ai_model_type: Optional[str] = FieldInfo(alias="model_type", default=None)
4141

4242
request_content_type: Optional[str] = None
4343

src/cloudflare/types/ai_gateway/log_list_response.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class LogListResponse(BaseModel):
3737

3838
metadata: Optional[str] = None
3939

40-
api_model_type: Optional[str] = FieldInfo(alias="model_type", default=None)
40+
ai_model_type: Optional[str] = FieldInfo(alias="model_type", default=None)
4141

4242
request_content_type: Optional[str] = None
4343

0 commit comments

Comments
 (0)