forked from sashabaranov/go-openai
-
Notifications
You must be signed in to change notification settings - Fork 15
Feat/wdz/sync master #4
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* fix image api missing filename bug * add test * add test * update test
…r tests (sashabaranov#999) * test: enhance error accumulator and form builder tests, add marshaller tests * test: fix some issue form golangci-lint * test: gofmt form builder test * fix * fix * fix lint
…1022) * Fix for sashabaranov#1021: 1. Make Usage field in completions Response to pointer. * Fix for sashabaranov#1021: 1. Make Usage field in completions Response to pointer. 2. Add omitempty to json tag Signed-off-by: Hritik003 <[email protected]> --------- Signed-off-by: Hritik003 <[email protected]>
…ONSchema.schema (sashabaranov#1028) * feat: sashabaranov#1027 * add tests * feat: sashabaranov#1027 * feat: sashabaranov#1027 * feat: sashabaranov#1027 * update chat_test.go * feat: sashabaranov#1027 * add test cases
* Add support for Chat Completion Service Tier * Add priority service tier
* support $ref and $defs in JSON Schema * update
* Add unit tests to improve coverage * Fix type assertion checks in tests
* support $ref and $defs in JSON Schema * update * removed root $ref from JSON Schema * Update json.go * Update json_test.go * Update jsonschema/json.go Co-authored-by: Copilot <[email protected]> * Update jsonschema/json.go Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
* support for extra_body parameter for embeddings API * done linting * added unit tests * improved code coverage and removed unnecessary checks * test cleanup * updated body map creation code * code coverage * minor change * updated testcase comment
* test: expand jsonschema coverage * test: fix package name for containsref tests
* Add unit tests for internal test utilities * Fix lint issues in internal tests
* Add GuidedChoice to ChatCompletionRequest * made separate NonOpenAIExtensions * fixed lint issue * renamed struct and removed inline json tag * Update chat.go Co-authored-by: Copilot <[email protected]> * Update chat.go Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Alex Baranov <[email protected]> Co-authored-by: Copilot <[email protected]>
f85e3d1
to
6ccc702
Compare
6ccc702
to
6cfecdb
Compare
mrh997
approved these changes
Jul 22, 2025
mrh997
approved these changes
Jul 22, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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