Module: RubyCoded::Chat::CodexBridge::RequestBuilder

Included in:
RubyCoded::Chat::CodexBridge
Defined in:
lib/ruby_coded/chat/codex_bridge/request_builder.rb

Overview

Builds HTTP requests for the Codex Responses API.

Constant Summary collapse

CODEX_HEADERS_BASE =
{
  "Content-Type" => "application/json",
  "Accept" => "text/event-stream",
  "originator" => "codex_cli_rs",
  "OpenAI-Beta" => "responses=experimental"
}.freeze
DEFAULT_INSTRUCTIONS =
"You are a helpful coding assistant. " \
"Answer concisely and provide code examples when relevant."