Skip to content

ref(openai): Extract input in API-specific functions#5546

Merged
alexander-alderman-webb merged 7 commits intomasterfrom
webb/openai/input-parameter
Mar 2, 2026
Merged

ref(openai): Extract input in API-specific functions#5546
alexander-alderman-webb merged 7 commits intomasterfrom
webb/openai/input-parameter

Conversation

@alexander-alderman-webb
Copy link
Contributor

@alexander-alderman-webb alexander-alderman-webb commented Feb 26, 2026

Description

The Responses and Embeddings API functions use the input keyword argument, while the Completions API uses the message keyword argument.

The input must be available in the top-level output-handling functions for #5553.

Issues

Reminders

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • Add set_attribute, remove_attribute to global API by sentrivana in #5555

Bug Fixes 🐛

Openai

  • Avoid consuming iterables passed to the Completions API by alexander-alderman-webb in #5489
  • Avoid consuming iterables passed to the Embeddings API by alexander-alderman-webb in #5491

Other

  • (anthropic) Fix token accounting by shellmayr in #5490
  • (google-genai) Remove agent spans for simple requests by alexander-alderman-webb in #5443
  • (grpc) Read method from handler_call_details for grpcio >= 1.76 compat by yeung108 in #5521
  • (httpx) Correctly append baggage in async client by sentrivana in #5530
  • (pydantic-ai) Adapt to missing ToolManager._call_tool by sentrivana in #5522
  • (utils) Use HEROKU_BUILD_COMMIT env var for default release by ericapisani in #5499
  • (wsgi) Do not wrap file responses when uWSGI offload-threads is enabled by ericapisani in #5556

Documentation 📚

  • Add troubleshooting note for editable installs with uWSGI by ericapisani in #5552
  • Add debugging advice by alexander-alderman-webb in #5517
  • New integration guide by alexander-alderman-webb in #5476

Internal Changes 🔧

Agents

  • Add security-review skill to agent configuration by ericapisani in #5498
  • Add sentry skills to be used by warden in CI reviews by ericapisani in #5485

Openai

  • Extract input in API-specific functions by alexander-alderman-webb in #5546
  • Separate output handling by alexander-alderman-webb in #5543

Openai Agents

  • Remove set_data_normalized for primitive attributes by alexander-alderman-webb in #5509
  • Expect new tool fields by alexander-alderman-webb in #5471

Other

  • (ai) Add configuration for dotagents by ericapisani in #5480
  • (anthropic) Remove set_data_normalized for primitive attributes by alexander-alderman-webb in #5504
  • (github) Add warden configuration by ericapisani in #5484
  • (pydantic-ai) Remove set_data_normalized for the gen_ai.response.model attribute by alexander-alderman-webb in #5512
  • (repo) Add .serena to .gitignore by ericapisani in #5464
  • Updated codecov.yml by MathurAditya724 in #5571
  • 🤖 Update test matrix with new releases (02/24) by github-actions in #5524
  • 🤖 Update test matrix with new releases (02/23) by github-actions in #5503
  • 🤖 Update test matrix with new releases (02/19) by github-actions in #5483
  • 🤖 Update test matrix with new releases (02/18) by github-actions in #5475

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

Codecov Results 📊

1772 passed | ⏭️ 166 skipped | Total: 1938 | Pass Rate: 91.43% | Execution Time: 3m 18s

All tests are passing successfully.

❌ Patch coverage is 0.00%. Project has 11702 uncovered lines.

Files with missing lines (1)
File Patch % Lines
openai.py 5.13% ⚠️ 536 Missing

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review February 26, 2026 15:26
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner February 26, 2026 15:26
Base automatically changed from webb/openai/separate-output-handling-by-api to master March 2, 2026 13:22
@alexander-alderman-webb alexander-alderman-webb merged commit 087ec4d into master Mar 2, 2026
164 of 166 checks passed
@alexander-alderman-webb alexander-alderman-webb deleted the webb/openai/input-parameter branch March 2, 2026 13:40
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.

2 participants