-
-
Notifications
You must be signed in to change notification settings - Fork 84
com.openai.unity 8.8.2 #410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- bump deps
On Android Newtonsoft.Json cannot parse `IReadOnlyDictionary` field and fails to return a Response. Co-authored-by: Stephen Hodgson <[email protected]>
Added a new class NoiseReductionSettings and added it as a parameter to SessionConfiguration. Co-authored-by: Stephen Hodgson <[email protected]>
- Changed how ContentIndex is serialized; ContentIndex should always be 0 which is the same as the default value Co-authored-by: Stephen Hodgson <[email protected]>
refactored json object ctrs to fix AOT serialization problems added support for gpt-5 and latest API changes
added missing function call impl for responses api streaming
- added CustomToolCall response items
fixed some issues with image generation using responses image generation tool updated default model list make Model class Serializable so models can be picked and selected from inspectors refactor assistant/threads beta headers to only be applied on those specific endpoints
cleanup tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces OpenAI Unity package version 8.8.2 with comprehensive updates to the Responses API and new features including GPT-5 models, Conversations endpoint, and various improvements.
- Updates package version from 8.8.1 to 8.8.2 with dependency upgrades
- Adds support for GPT-5 models (GPT-5, GPT-5 Mini, GPT-5 Nano, GPT-5 Chat) and specialized models
- Introduces ConversationsEndpoint for managing conversation state across Response API calls
- Implements extensive improvements to streaming response handling and content processing
Reviewed Changes
Copilot reviewed 82 out of 82 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
package.json | Version bump to 8.8.2 and dependency updates |
Models/Model.cs | Adds GPT-5 model variants and other new models |
ConversationsEndpoint.cs | New endpoint for conversation management |
ResponsesEndpoint.cs | Enhanced streaming and response processing |
Responses/* | Multiple content type and response handling improvements |
Tests/* | Updated test cases for new functionality |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
- Fix a bug in parsing the Response on Android by @dudziakl - Refactored json object .ctrs to fix AOT serialization problems - Added NoiseReductionSettings for RealtimeConfiguration by @eapark - Fix ConversationItemTruncateRequest.ContentIndex default serialization by @eapark - Add file_url for responses api by @gfreezy - Added support for gpt-5 and latest API changes - Added ConversationsEndpoint - Updated default model lists - Made Model class serializable so it can be picked and selected from inspectors - Refactor Assistant/Thread Endpoint beta headers to only be applied on those specific endpoints - Updated dependencies --------- Co-authored-by: Lukasz D <[email protected]> Co-authored-by: Emily Eap Park <[email protected]>
TODO