Module: LlmGateway::Adapters::OpenAICodex::OptionMapper
- Defined in:
- lib/llm_gateway/adapters/openai_codex/option_mapper.rb
Class Method Summary collapse
Class Method Details
.map(options) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/llm_gateway/adapters/openai_codex/option_mapper.rb', line 11 def map() = OpenAI::Responses::OptionMapper.map() # Codex endpoint currently rejects token limit parameters. .delete(:max_output_tokens) .delete(:max_completion_tokens) # Codex transport does not use retention flags in the request body. .delete(:prompt_cache_retention) .delete(:cacheRetention) .delete(:cache_retention) end |