sashabaranov / go-openai

OpenAI ChatGPT, GPT-3, GPT-4, DALL·E, Whisper API wrapper for Go
Apache License 2.0
9.25k stars 1.42k forks source link

Filter messages by the run ID that generated them. (run_id string Optional) #855

Closed floodwm closed 1 month ago

floodwm commented 1 month ago

Filter messages by the run ID that generated them.

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

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.01%. Comparing base (774fc9d) to head (bfb33f5). Report is 53 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #855 +/- ## ========================================== + Coverage 98.46% 99.01% +0.55% ========================================== Files 24 26 +2 Lines 1364 1424 +60 ========================================== + Hits 1343 1410 +67 + Misses 15 8 -7 Partials 6 6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.