@@ -288,33 +288,29 @@ def try_strict_coerce(value)
288288 # values safely.
289289 #
290290 # @example
291- # ```ruby
292- # # `chat_model` is a `OpenAI::Models::ChatModel`
293- # case chat_model
294- # when OpenAI::Models::ChatModel::O3_MINI
295- # # ...
296- # when OpenAI::Models::ChatModel::O3_MINI_2025_01_31
297- # # ...
298- # when OpenAI::Models::ChatModel::O1
299- # # ...
300- # else
301- # puts(chat_model)
302- # end
303- # ```
291+ # # `chat_model` is a `OpenAI::Models::ChatModel`
292+ # case chat_model
293+ # when OpenAI::Models::ChatModel::O3_MINI
294+ # # ...
295+ # when OpenAI::Models::ChatModel::O3_MINI_2025_01_31
296+ # # ...
297+ # when OpenAI::Models::ChatModel::O1
298+ # # ...
299+ # else
300+ # puts(chat_model)
301+ # end
304302 #
305303 # @example
306- # ```ruby
307- # case chat_model
308- # in :"o3-mini"
309- # # ...
310- # in :"o3-mini-2025-01-31"
311- # # ...
312- # in :o1
313- # # ...
314- # else
315- # puts(chat_model)
316- # end
317- # ```
304+ # case chat_model
305+ # in :"o3-mini"
306+ # # ...
307+ # in :"o3-mini-2025-01-31"
308+ # # ...
309+ # in :o1
310+ # # ...
311+ # else
312+ # puts(chat_model)
313+ # end
318314 module Enum
319315 include OpenAI ::Converter
320316
@@ -387,33 +383,29 @@ def try_strict_coerce(value)
387383 # @api private
388384 #
389385 # @example
390- # ```ruby
391- # # `chat_completion_content_part` is a `OpenAI::Models::Chat::ChatCompletionContentPart`
392- # case chat_completion_content_part
393- # when OpenAI::Models::Chat::ChatCompletionContentPartText
394- # puts(chat_completion_content_part.text)
395- # when OpenAI::Models::Chat::ChatCompletionContentPartImage
396- # puts(chat_completion_content_part.image_url)
397- # when OpenAI::Models::Chat::ChatCompletionContentPartInputAudio
398- # puts(chat_completion_content_part.input_audio)
399- # else
400- # puts(chat_completion_content_part)
401- # end
402- # ```
386+ # # `chat_completion_content_part` is a `OpenAI::Models::Chat::ChatCompletionContentPart`
387+ # case chat_completion_content_part
388+ # when OpenAI::Models::Chat::ChatCompletionContentPartText
389+ # puts(chat_completion_content_part.text)
390+ # when OpenAI::Models::Chat::ChatCompletionContentPartImage
391+ # puts(chat_completion_content_part.image_url)
392+ # when OpenAI::Models::Chat::ChatCompletionContentPartInputAudio
393+ # puts(chat_completion_content_part.input_audio)
394+ # else
395+ # puts(chat_completion_content_part)
396+ # end
403397 #
404398 # @example
405- # ```ruby
406- # case chat_completion_content_part
407- # in {type: :text, text: text}
408- # puts(text)
409- # in {type: :image_url, image_url: image_url}
410- # puts(image_url)
411- # in {type: :input_audio, input_audio: input_audio}
412- # puts(input_audio)
413- # else
414- # puts(chat_completion_content_part)
415- # end
416- # ```
399+ # case chat_completion_content_part
400+ # in {type: :text, text: text}
401+ # puts(text)
402+ # in {type: :image_url, image_url: image_url}
403+ # puts(image_url)
404+ # in {type: :input_audio, input_audio: input_audio}
405+ # puts(input_audio)
406+ # else
407+ # puts(chat_completion_content_part)
408+ # end
417409 module Union
418410 include OpenAI ::Converter
419411
@@ -878,14 +870,12 @@ def initialize(type_info, spec = {})
878870 # @abstract
879871 #
880872 # @example
881- # ```ruby
882- # # `comparison_filter` is a `OpenAI::Models::ComparisonFilter`
883- # comparison_filter => {
884- # key: key,
885- # type: type,
886- # value: value
887- # }
888- # ```
873+ # # `comparison_filter` is a `OpenAI::Models::ComparisonFilter`
874+ # comparison_filter => {
875+ # key: key,
876+ # type: type,
877+ # value: value
878+ # }
889879 class BaseModel
890880 extend OpenAI ::Converter
891881
0 commit comments