Skip to content

feat(api): add Cyber access programs to Responses - #754

Closed
marcuswood-oai wants to merge 1 commit into
mainfrom
castiron/promotions/pr-148
Closed

marcuswood-oai wants to merge 1 commit into
mainfrom
castiron/promotions/pr-148

Conversation

@marcuswood-oai

Copy link
Copy Markdown
Contributor

Summary

Adds typed Responses API request and response fields for Cyber access program selection.

Changes

  • Add access_programs.cyber to response creation parameters
  • Expose the resolved Cyber access program on response objects
  • Support standard, daybreak_blue, and daybreak_red values

Castiron-Internal-PR: openai/openai-ruby-internal#148
Castiron-Source-SHA: da0b25621904702af542740943d14df98d46ddcc
Castiron-Public-Base-SHA: c704778
@github-actions

Copy link
Copy Markdown
Contributor

Castiron custom code

✅ No new custom-code files detected.

70 mixed files remain; 0 existing customizations changed; 8 generated baselines changed.

Compared c7047782ff2a → bd97003c1f96. Generated baselines verified.

File Result Current custom patch
lib/openai/models/responses/response.rb Generated baseline changed +21 / −0
lib/openai/models/responses/response_create_params.rb Generated baseline changed +9 / −1
lib/openai/resources/responses.rb Generated baseline changed +121 / −6
rbi/openai/models/responses/response.rbi Generated baseline changed +5 / −0
rbi/openai/models/responses/response_create_params.rbi Generated baseline changed +10 / −1
rbi/openai/resources/responses.rbi Generated baseline changed +341 / −16
sig/openai/models/responses/response.rbs Generated baseline changed +2 / −0
sig/openai/resources/responses.rbs Generated baseline changed +33 / −0
62 existing customizations unchanged
  • lib/openai.rb
  • lib/openai/client.rb
  • lib/openai/models/audio/transcription_create_response.rb
  • lib/openai/models/beta/agents/vault_status_filter.rb
  • lib/openai/models/chat/chat_completion_message.rb
  • lib/openai/models/chat/chat_completion_message_function_tool_call.rb
  • lib/openai/models/chat/completion_create_params.rb
  • lib/openai/models/image_edit_completed_event.rb
  • lib/openai/models/image_edit_partial_image_event.rb
  • lib/openai/models/image_gen_completed_event.rb
  • lib/openai/models/image_gen_partial_image_event.rb
  • lib/openai/models/images_response.rb
  • lib/openai/models/response_format_json_schema.rb
  • lib/openai/models/responses/function_tool.rb
  • lib/openai/models/responses/response_format_text_config.rb
  • lib/openai/models/responses/response_format_text_json_schema_config.rb
  • lib/openai/models/responses/response_function_tool_call.rb
  • lib/openai/models/responses/response_function_web_search.rb
  • lib/openai/models/responses/response_output_text.rb
  • lib/openai/models/responses/tool.rb
  • lib/openai/models/webhooks/webhook_endpoint_with_secret.rb
  • lib/openai/resources/beta/agents/sessions.rb
  • lib/openai/resources/beta/threads.rb
  • lib/openai/resources/chat/completions.rb
  • lib/openai/resources/containers/files.rb
  • lib/openai/resources/files.rb
  • lib/openai/resources/vector_stores/file_batches.rb
  • lib/openai/resources/vector_stores/files.rb
  • lib/openai/resources/webhooks.rb
  • rbi/openai/client.rbi
  • rbi/openai/models/beta/agents/vault_status_filter.rbi
  • rbi/openai/models/chat/chat_completion_message.rbi
  • rbi/openai/models/chat/chat_completion_message_function_tool_call.rbi
  • rbi/openai/models/chat/completion_create_params.rbi
  • rbi/openai/models/image_edit_completed_event.rbi
  • rbi/openai/models/image_edit_partial_image_event.rbi
  • rbi/openai/models/image_gen_completed_event.rbi
  • rbi/openai/models/image_gen_partial_image_event.rbi
  • rbi/openai/models/images_response.rbi
  • rbi/openai/models/response_format_json_schema.rbi

22 more in the full report.

A changed generated baseline means this report cannot reliably identify which handwritten lines changed.

Inspect the custom-code diff

Download the exact patch produced by this run (requires repository access):

gh run download 35924206164 --repo openai/openai-ruby \
  --name castiron-custom-code-35924206164-1 --dir /tmp/castiron-custom-code-35924206164-1
git apply --stat /tmp/castiron-custom-code-35924206164-1/custom-code.patch
cat /tmp/castiron-custom-code-35924206164-1/custom-code.patch

Or reproduce it from an SDK checkout containing the vendored reporter:

git fetch --no-tags origin c7047782ff2ae38a859a08ef199e67a79c16b9fe bd97003c1f96fd069299097878cef01187b8c1a6
python3 scripts/castiron/custom_code_report.py report \
  --base c7047782ff2ae38a859a08ef199e67a79c16b9fe \
  --head bd97003c1f96fd069299097878cef01187b8c1a6 --fetch --require-head-hash --public \
  --out /tmp/castiron-custom-code-bd97003c1f96
cat /tmp/castiron-custom-code-bd97003c1f96/custom-code.patch

This is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR.

Full report and patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant