Skip to content

Commit 3b5021b

Browse files
feat: Fix OpenAI chat API reference links
1 parent 687d277 commit 3b5021b

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1039
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx/telnyx-2fb96816c490b307ca715624c6931a5ea68119543250a32253b9d89754bef0bf.yml
3-
openapi_spec_hash: fd2a8e2a696d84ae4ea32098ac00a925
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx/telnyx-5a31f30054289ec58f61b771565dfaf8134d939033659841fa52ea306f8368ae.yml
3+
openapi_spec_hash: c685a523bd0138159cf02df01709dfaa
44
config_hash: bc071de39b424ea1ecf205d551ac87cc

src/telnyx/resources/ai/assistants/assistants.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def create(
241241
`/ai/mcp_servers`, then reference them by `id` here.
242242
243243
model: ID of the model to use when `external_llm` is not set. You can use the
244-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
244+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
245245
to see available models. If `external_llm` is provided, the assistant uses
246246
`external_llm` instead of this field. If neither `model` nor `external_llm` is
247247
provided, Telnyx applies the default model.
@@ -455,7 +455,7 @@ def update(
455455
`/ai/mcp_servers`, then reference them by `id` here.
456456
457457
model: ID of the model to use when `external_llm` is not set. You can use the
458-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
458+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
459459
to see available models. If `external_llm` is provided, the assistant uses
460460
`external_llm` instead of this field. If neither `model` nor `external_llm` is
461461
provided, Telnyx applies the default model.
@@ -966,7 +966,7 @@ async def create(
966966
`/ai/mcp_servers`, then reference them by `id` here.
967967
968968
model: ID of the model to use when `external_llm` is not set. You can use the
969-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
969+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
970970
to see available models. If `external_llm` is provided, the assistant uses
971971
`external_llm` instead of this field. If neither `model` nor `external_llm` is
972972
provided, Telnyx applies the default model.
@@ -1180,7 +1180,7 @@ async def update(
11801180
`/ai/mcp_servers`, then reference them by `id` here.
11811181
11821182
model: ID of the model to use when `external_llm` is not set. You can use the
1183-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
1183+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
11841184
to see available models. If `external_llm` is provided, the assistant uses
11851185
`external_llm` instead of this field. If neither `model` nor `external_llm` is
11861186
provided, Telnyx applies the default model.

src/telnyx/resources/ai/assistants/versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def update(
202202
`/ai/mcp_servers`, then reference them by `id` here.
203203
204204
model: ID of the model to use when `external_llm` is not set. You can use the
205-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
205+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
206206
to see available models. If `external_llm` is provided, the assistant uses
207207
`external_llm` instead of this field. If neither `model` nor `external_llm` is
208208
provided, Telnyx applies the default model.
@@ -563,7 +563,7 @@ async def update(
563563
`/ai/mcp_servers`, then reference them by `id` here.
564564
565565
model: ID of the model to use when `external_llm` is not set. You can use the
566-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
566+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
567567
to see available models. If `external_llm` is provided, the assistant uses
568568
`external_llm` instead of this field. If neither `model` nor `external_llm` is
569569
provided, Telnyx applies the default model.

src/telnyx/types/ai/assistant_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class AssistantCreateParams(TypedDict, total=False):
119119
"""ID of the model to use when `external_llm` is not set.
120120
121121
You can use the
122-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
122+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
123123
to see available models. If `external_llm` is provided, the assistant uses
124124
`external_llm` instead of this field. If neither `model` nor `external_llm` is
125125
provided, Telnyx applies the default model.

src/telnyx/types/ai/assistant_update_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class AssistantUpdateParams(TypedDict, total=False):
117117
"""ID of the model to use when `external_llm` is not set.
118118
119119
You can use the
120-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
120+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
121121
to see available models. If `external_llm` is provided, the assistant uses
122122
`external_llm` instead of this field. If neither `model` nor `external_llm` is
123123
provided, Telnyx applies the default model.

src/telnyx/types/ai/assistants/version_update_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class VersionUpdateParams(TypedDict, total=False):
119119
"""ID of the model to use when `external_llm` is not set.
120120
121121
You can use the
122-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
122+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
123123
to see available models. If `external_llm` is provided, the assistant uses
124124
`external_llm` instead of this field. If neither `model` nor `external_llm` is
125125
provided, Telnyx applies the default model.

src/telnyx/types/ai/inference_embedding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class InferenceEmbedding(BaseModel):
4141
"""ID of the model to use when `external_llm` is not set.
4242
4343
You can use the
44-
[Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
44+
[Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
4545
to see available models. If `external_llm` is provided, the assistant uses
4646
`external_llm` instead of this field. If neither `model` nor `external_llm` is
4747
provided, Telnyx applies the default model.

0 commit comments

Comments
 (0)