Skip to content

Tags: sashabaranov/go-openai

Tags

v1.40.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix for removing usage in every stream chunk response. (#1022)

* Fix for #1021:
1. Make Usage field in completions Response to pointer.

* Fix for #1021:
1. Make Usage field in completions Response to pointer.
2. Add omitempty to json tag

Signed-off-by: Hritik003 <hritik.raj@nutanix.com>

---------

Signed-off-by: Hritik003 <hritik.raj@nutanix.com>

v1.40.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix image api missing filename bug (#1017)

* fix image api missing filename bug

* add test

* add test

* update test

v1.40.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
skip json field (#1009)

* skip json field

* backfill some coverage and tests

v1.40.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix lint (#998)

v1.39.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Upgrade golangci-lint to 2.1.5 (#986)

* Upgrade golangci-lint to 2.1.5

* update action

v1.39.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Prediction field (#970)

* Add Prediction field to ChatCompletionRequest

* Include prediction tokens in response

v1.38.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Add missing TTS models and voices (#958)

* feat: Add missing TTS models and voices

* feat: Add new instruction field to create speech request

- From docs: Control the voice of your generated audio with additional instructions. Does not work with tts-1 or tts-1-hd.

* fix: add canary-tts back to SpeechModel

v1.38.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add enum tag to jsonschema (#962)

* fix jsonschema tests

* ensure all run during PR Github Action

* add test for struct to schema

* add support for enum tag

* support nullable tag

v1.38.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add gpt-4.5-preview models (#947)

v1.38.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix linter (#943)

* fix lint

* remove linters