telnyx 5.107.0 → 5.108.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3c87a35b668a36283032f0c210a8fba8309fef68279b1da8cacae27ffc24ac5
4
- data.tar.gz: 83f8f6ed052588f6176a1048927c849b32d7bcc2d873b2d1c3fd2f56c79eb11e
3
+ metadata.gz: a8427a487bfa74197915aa56d747a736ac818d6707ac0af5e0b9f6271ac94d52
4
+ data.tar.gz: fb75a99efcad3b6160a5e7135205c044fa26af64e2b8cc08b8aa298b657f5e0c
5
5
  SHA512:
6
- metadata.gz: 44551deecd8bd6ab9f8f01e31fac561955de7b73777e9ca38dff8733f3082eba03deb9a63c52e677f4cd5b9b0a57d5bdf21365a2c32710fcc4ae814a29b6e083
7
- data.tar.gz: 4f4618cce72daeeb0a04c73b6c0bfe4e0d776fc922f0b270c6425624622e9c29c4e86bda12e59453e91a403d9cd653ebffd3b3df96bd6f84d10bf61308d5b449
6
+ metadata.gz: 26ccf3928c4cf1a7ffb1b016cfcdf1623c151e3e684c611f04c9841f64ce51664d7c5b02c80f5489561865b1329078a04d291d4f49e566fc9c95ef36bebc5862
7
+ data.tar.gz: 632c8048592cc629dc2a29a32d34ad6a493bae13a8de64dd1b96c6f2a17ad64b83c697b36f1285520e8aef0130b3a2fe54350c275a5c289e052b2cf31a64a22e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.108.0 (2026-05-11)
4
+
5
+ Full Changelog: [v5.107.0...v5.108.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.107.0...v5.108.0)
6
+
7
+ ### Features
8
+
9
+ * Clean up OpenAI responses API docs ([6070668](https://github.com/team-telnyx/telnyx-ruby/commit/6070668c896482ef9c510f7f6c9f94da3556757b))
10
+ * Fix OpenAI chat API reference links ([19300e6](https://github.com/team-telnyx/telnyx-ruby/commit/19300e65a7a6c3df2eb744828217479fd76a89f5))
11
+
3
12
  ## 5.107.0 (2026-05-11)
4
13
 
5
14
  Full Changelog: [v5.106.0...v5.107.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.106.0...v5.107.0)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "telnyx", "~> 5.107.0"
27
+ gem "telnyx", "~> 5.108.0"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -129,7 +129,7 @@ module Telnyx
129
129
 
130
130
  # @!attribute model
131
131
  # ID of the model to use when `external_llm` is not set. You can use the
132
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
132
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
133
133
  # to see available models. If `external_llm` is provided, the assistant uses
134
134
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
135
135
  # provided, Telnyx applies the default model.
@@ -129,7 +129,7 @@ module Telnyx
129
129
 
130
130
  # @!attribute model
131
131
  # ID of the model to use when `external_llm` is not set. You can use the
132
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
132
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
133
133
  # to see available models. If `external_llm` is provided, the assistant uses
134
134
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
135
135
  # provided, Telnyx applies the default model.
@@ -121,7 +121,7 @@ module Telnyx
121
121
 
122
122
  # @!attribute model
123
123
  # ID of the model to use when `external_llm` is not set. You can use the
124
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
124
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
125
125
  # to see available models. If `external_llm` is provided, the assistant uses
126
126
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
127
127
  # provided, Telnyx applies the default model.
@@ -24,7 +24,7 @@ module Telnyx
24
24
 
25
25
  # @!attribute model
26
26
  # ID of the model to use when `external_llm` is not set. You can use the
27
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
27
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
28
28
  # to see available models. If `external_llm` is provided, the assistant uses
29
29
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
30
30
  # provided, Telnyx applies the default model.
@@ -13,7 +13,7 @@ module Telnyx
13
13
  attr_reader :chat
14
14
 
15
15
  # Chat with a language model. This endpoint is consistent with the
16
- # [OpenAI Chat Completions API](https://developers.openai.com/api/reference/resources/responses)
16
+ # [OpenAI Responses API](https://platform.openai.com/docs/api-reference/responses)
17
17
  # and may be used with the OpenAI JS or Python SDK. Response id parameter is not
18
18
  # supported at the moment. Use 'conversation' parameter to leverage persistent
19
19
  # conversations feature.
@@ -46,8 +46,11 @@ module Telnyx
46
46
  # @return [Telnyx::Resources::AI::Tools]
47
47
  attr_reader :tools
48
48
 
49
- # Chat with a language model. This endpoint is consistent with the
50
- # [OpenAI Chat Completions API](https://developers.openai.com/api/reference/resources/responses)
49
+ # @deprecated
50
+ #
51
+ # **Deprecated**: Use `POST /v2/ai/openai/responses` instead. Chat with a language
52
+ # model. This endpoint is consistent with the
53
+ # [OpenAI Responses API](https://platform.openai.com/docs/api-reference/responses)
51
54
  # and may be used with the OpenAI JS or Python SDK. Response id parameter is not
52
55
  # supported at the moment. Use 'conversation' parameter to leverage persistent
53
56
  # conversations feature.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.107.0"
4
+ VERSION = "5.108.0"
5
5
  end
@@ -169,7 +169,7 @@ module Telnyx
169
169
  attr_writer :messaging_settings
170
170
 
171
171
  # ID of the model to use when `external_llm` is not set. You can use the
172
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
172
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
173
173
  # to see available models. If `external_llm` is provided, the assistant uses
174
174
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
175
175
  # provided, Telnyx applies the default model.
@@ -410,7 +410,7 @@ module Telnyx
410
410
  mcp_servers: nil,
411
411
  messaging_settings: nil,
412
412
  # ID of the model to use when `external_llm` is not set. You can use the
413
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
413
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
414
414
  # to see available models. If `external_llm` is provided, the assistant uses
415
415
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
416
416
  # provided, Telnyx applies the default model.
@@ -172,7 +172,7 @@ module Telnyx
172
172
  attr_writer :messaging_settings
173
173
 
174
174
  # ID of the model to use when `external_llm` is not set. You can use the
175
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
175
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
176
176
  # to see available models. If `external_llm` is provided, the assistant uses
177
177
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
178
178
  # provided, Telnyx applies the default model.
@@ -437,7 +437,7 @@ module Telnyx
437
437
  mcp_servers: nil,
438
438
  messaging_settings: nil,
439
439
  # ID of the model to use when `external_llm` is not set. You can use the
440
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
440
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
441
441
  # to see available models. If `external_llm` is provided, the assistant uses
442
442
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
443
443
  # provided, Telnyx applies the default model.
@@ -176,7 +176,7 @@ module Telnyx
176
176
  attr_writer :messaging_settings
177
177
 
178
178
  # ID of the model to use when `external_llm` is not set. You can use the
179
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
179
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
180
180
  # to see available models. If `external_llm` is provided, the assistant uses
181
181
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
182
182
  # provided, Telnyx applies the default model.
@@ -435,7 +435,7 @@ module Telnyx
435
435
  mcp_servers: nil,
436
436
  messaging_settings: nil,
437
437
  # ID of the model to use when `external_llm` is not set. You can use the
438
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
438
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
439
439
  # to see available models. If `external_llm` is provided, the assistant uses
440
440
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
441
441
  # provided, Telnyx applies the default model.
@@ -21,7 +21,7 @@ module Telnyx
21
21
  attr_accessor :instructions
22
22
 
23
23
  # ID of the model to use when `external_llm` is not set. You can use the
24
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
24
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
25
25
  # to see available models. If `external_llm` is provided, the assistant uses
26
26
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
27
27
  # provided, Telnyx applies the default model.
@@ -373,7 +373,7 @@ module Telnyx
373
373
  # [dynamic variables](https://developers.telnyx.com/docs/inference/ai-assistants/dynamic-variables)
374
374
  instructions:,
375
375
  # ID of the model to use when `external_llm` is not set. You can use the
376
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
376
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
377
377
  # to see available models. If `external_llm` is provided, the assistant uses
378
378
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
379
379
  # provided, Telnyx applies the default model.
@@ -146,7 +146,7 @@ module Telnyx
146
146
  messaging_settings: nil,
147
147
  # Body param: ID of the model to use when `external_llm` is not set. You can use
148
148
  # the
149
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
149
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
150
150
  # to see available models. If `external_llm` is provided, the assistant uses
151
151
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
152
152
  # provided, Telnyx applies the default model.
@@ -135,7 +135,7 @@ module Telnyx
135
135
  mcp_servers: nil,
136
136
  messaging_settings: nil,
137
137
  # ID of the model to use when `external_llm` is not set. You can use the
138
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
138
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
139
139
  # to see available models. If `external_llm` is provided, the assistant uses
140
140
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
141
141
  # provided, Telnyx applies the default model.
@@ -298,7 +298,7 @@ module Telnyx
298
298
  mcp_servers: nil,
299
299
  messaging_settings: nil,
300
300
  # ID of the model to use when `external_llm` is not set. You can use the
301
- # [Get models API](https://developers.telnyx.com/api-reference/chat/get-available-models)
301
+ # [Get models API](https://developers.telnyx.com/api-reference/openai-chat/get-available-models-openai-compatible)
302
302
  # to see available models. If `external_llm` is provided, the assistant uses
303
303
  # `external_llm` instead of this field. If neither `model` nor `external_llm` is
304
304
  # provided, Telnyx applies the default model.
@@ -13,7 +13,7 @@ module Telnyx
13
13
  attr_reader :chat
14
14
 
15
15
  # Chat with a language model. This endpoint is consistent with the
16
- # [OpenAI Chat Completions API](https://developers.openai.com/api/reference/resources/responses)
16
+ # [OpenAI Responses API](https://platform.openai.com/docs/api-reference/responses)
17
17
  # and may be used with the OpenAI JS or Python SDK. Response id parameter is not
18
18
  # supported at the moment. Use 'conversation' parameter to leverage persistent
19
19
  # conversations feature.
@@ -46,8 +46,9 @@ module Telnyx
46
46
  sig { returns(Telnyx::Resources::AI::Tools) }
47
47
  attr_reader :tools
48
48
 
49
- # Chat with a language model. This endpoint is consistent with the
50
- # [OpenAI Chat Completions API](https://developers.openai.com/api/reference/resources/responses)
49
+ # **Deprecated**: Use `POST /v2/ai/openai/responses` instead. Chat with a language
50
+ # model. This endpoint is consistent with the
51
+ # [OpenAI Responses API](https://platform.openai.com/docs/api-reference/responses)
51
52
  # and may be used with the OpenAI JS or Python SDK. Response id parameter is not
52
53
  # supported at the moment. Use 'conversation' parameter to leverage persistent
53
54
  # conversations feature.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telnyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.107.0
4
+ version: 5.108.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx