You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide "tagged symbols" instead, which is always a primitive at runtime:
# Some parameter documentations has been truncated, see
373
388
# {OpenAI::Models::Chat::CompletionCreateParams} for more details.
374
389
#
@@ -406,6 +421,8 @@ class CompletionCreateParams < OpenAI::Internal::Type::BaseModel
406
421
#
407
422
# @param prompt_cache_key [String] Used by OpenAI to cache responses for similar requests to optimize your cache hi
408
423
#
424
+
# @param prompt_cache_retention [Symbol, OpenAI::Models::Chat::CompletionCreateParams::PromptCacheRetention, nil] The retention policy for the prompt cache. Set to `24h` to enable extended promp
425
+
#
409
426
# @param reasoning_effort [Symbol, OpenAI::Models::ReasoningEffort, nil] Constrains effort on reasoning for
410
427
#
411
428
# @param response_format [OpenAI::Models::ResponseFormatText, OpenAI::Models::ResponseFormatJSONSchema, OpenAI::StructuredOutput::JsonSchemaConverter, OpenAI::Models::ResponseFormatJSONObject] An object specifying the format that the model must output.
@@ -551,6 +568,20 @@ module Modality
551
568
# @return [Array<Symbol>]
552
569
end
553
570
571
+
# The retention policy for the prompt cache. Set to `24h` to enable extended
572
+
# prompt caching, which keeps cached prefixes active for longer, up to a maximum
0 commit comments