Skip to content

Conversation

@iGore
Copy link

@iGore iGore commented Oct 25, 2025

This commit introduces the implementation of the OpenAI Responses API, allowing users to leverage tools like web search.

  • Adds response.go with the CreateResponseRequest and CreateResponseResponse structs and the CreateResponse client method.
  • Includes response_test.go with a unit test to verify the new functionality.

A similar PR may already be submitted!
Please search among the Pull request before creating one.

If your changes introduce breaking changes, please prefix the title of your pull request with "[BREAKING_CHANGES]". This allows for clear identification of such changes in the 'What's Changed' section on the release page, making it developer-friendly.

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request.

Describe the change
Please provide a clear and concise description of the changes you're proposing. Explain what problem it solves or what feature it adds.

Provide OpenAI documentation link
Provide a relevant API doc from https://platform.openai.com/docs/api-reference

Describe your solution
Describe how your changes address the problem or how they add the feature. This should include a brief description of your approach and any new libraries or dependencies you're using.

Tests
Briefly describe how you have tested these changes. If possible — please add integration tests.

Additional context
Add any other context or screenshots or logs about your pull request here. If the pull request relates to an open issue, please link to it.

Issue: #XXXX

This commit introduces the implementation of the OpenAI Responses API, allowing users to leverage tools like web search.

- Adds `response.go` with the `CreateResponseRequest` and `CreateResponseResponse` structs and the `CreateResponse` client method.
- Includes `response_test.go` with a unit test to verify the new functionality.
iGore and others added 2 commits October 25, 2025 22:21
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Oct 26, 2025

Codecov Report

❌ Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.51%. Comparing base (5d7a276) to head (8ba2d4a).

Files with missing lines Patch % Lines
response.go 81.81% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1089      +/-   ##
==========================================
- Coverage   99.59%   99.51%   -0.08%     
==========================================
  Files          34       35       +1     
  Lines        2209     1852     -357     
==========================================
- Hits         2200     1843     -357     
+ Misses          6        5       -1     
- Partials        3        4       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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