Conversation
Bumps [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) from 1.37.0 to 1.39.0. - [Release notes](https://github.com/sashabaranov/go-openai/releases) - [Commits](sashabaranov/go-openai@v1.37.0...v1.39.0) --- updated-dependencies: - dependency-name: github.com/sashabaranov/go-openai dependency-version: 1.39.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
xxyy2024
pushed a commit
to xxyy2024/waveterm_aipy
that referenced
this pull request
Jun 24, 2025
…mdev#2145) Bumps [github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) from 1.37.0 to 1.39.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sashabaranov/go-openai/releases">github.com/sashabaranov/go-openai's releases</a>.</em></p> <blockquote> <h2>v1.39.0</h2> <h2>What's Changed</h2> <ul> <li>Add support for reasoning_content field in chat completion messages for DeepSeek R1 by <a href="https://github.com/goodenough227"><code>@goodenough227</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/925">sashabaranov/go-openai#925</a></li> <li>Adapt different stream data prefix, with or without space by <a href="https://github.com/panzhongxian"><code>@panzhongxian</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/945">sashabaranov/go-openai#945</a></li> <li>Add support for <code>o4-mini</code> and <code>o3</code> by <a href="https://github.com/rorymalcolm"><code>@rorymalcolm</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/968">sashabaranov/go-openai#968</a></li> <li>Add CompletionRequest.StreamOptions by <a href="https://github.com/stmcginnis"><code>@stmcginnis</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/959">sashabaranov/go-openai#959</a></li> <li>Remove redundant typecheck linter by <a href="https://github.com/alexandear"><code>@alexandear</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/955">sashabaranov/go-openai#955</a></li> <li>Add Prediction field by <a href="https://github.com/danielpeng2"><code>@danielpeng2</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/970">sashabaranov/go-openai#970</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/goodenough227"><code>@goodenough227</code></a> made their first contribution in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/925">sashabaranov/go-openai#925</a></li> <li><a href="https://github.com/panzhongxian"><code>@panzhongxian</code></a> made their first contribution in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/945">sashabaranov/go-openai#945</a></li> <li><a href="https://github.com/stmcginnis"><code>@stmcginnis</code></a> made their first contribution in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/959">sashabaranov/go-openai#959</a></li> <li><a href="https://github.com/danielpeng2"><code>@danielpeng2</code></a> made their first contribution in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/970">sashabaranov/go-openai#970</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/sashabaranov/go-openai/compare/v1.38.3...v1.39.0">https://github.com/sashabaranov/go-openai/compare/v1.38.3...v1.39.0</a></p> <h2>v1.38.3</h2> <h2>What's Changed</h2> <ul> <li>feat: add new GPT-4.1 model variants to completion.go by <a href="https://github.com/iktakahiro"><code>@iktakahiro</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/966">sashabaranov/go-openai#966</a></li> <li>feat: Add missing TTS models and voices by <a href="https://github.com/netr"><code>@netr</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/958">sashabaranov/go-openai#958</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/netr"><code>@netr</code></a> made their first contribution in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/958">sashabaranov/go-openai#958</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/sashabaranov/go-openai/compare/v1.38.2...v1.38.3">https://github.com/sashabaranov/go-openai/compare/v1.38.2...v1.38.3</a></p> <h2>v1.38.2</h2> <h2>What's Changed</h2> <ul> <li>add enum tag to jsonschema by <a href="https://github.com/jtarchie"><code>@jtarchie</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/962">sashabaranov/go-openai#962</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jtarchie"><code>@jtarchie</code></a> made their first contribution in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/962">sashabaranov/go-openai#962</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/sashabaranov/go-openai/compare/v1.38.1...v1.38.2">https://github.com/sashabaranov/go-openai/compare/v1.38.1...v1.38.2</a></p> <h2>v1.38.1</h2> <h2>What's Changed</h2> <ul> <li>feat: add gpt-4.5-preview models by <a href="https://github.com/liushuangls"><code>@liushuangls</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/947">sashabaranov/go-openai#947</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/sashabaranov/go-openai/compare/v1.38.0...v1.38.1">https://github.com/sashabaranov/go-openai/compare/v1.38.0...v1.38.1</a></p> <h2>v1.38.0</h2> <h2>What's Changed</h2> <ul> <li>ref: add image url support to messages by <a href="https://github.com/mazyaryousefinia"><code>@mazyaryousefinia</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/933">sashabaranov/go-openai#933</a></li> <li>feat: add developer role by <a href="https://github.com/liushuangls"><code>@liushuangls</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/936">sashabaranov/go-openai#936</a></li> <li>fix: remove validateO1Specific by <a href="https://github.com/liushuangls"><code>@liushuangls</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/939">sashabaranov/go-openai#939</a></li> <li>feat: add Anthropic API support with custom version header by <a href="https://github.com/danackerson"><code>@danackerson</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/934">sashabaranov/go-openai#934</a></li> <li>Fix linter by <a href="https://github.com/sashabaranov"><code>@sashabaranov</code></a> in <a href="https://redirect.github.com/sashabaranov/go-openai/pull/943">sashabaranov/go-openai#943</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sashabaranov/go-openai/commit/93a611cf4f1d227963a4f28a2c4a3422a0d37bfd"><code>93a611c</code></a> Add Prediction field (<a href="https://redirect.github.com/sashabaranov/go-openai/issues/970">#970</a>)</li> <li><a href="https://github.com/sashabaranov/go-openai/commit/6836cf6a6fd0027ea21f8d31bff5d023040d9db4"><code>6836cf6</code></a> Remove redundant typecheck linter (<a href="https://redirect.github.com/sashabaranov/go-openai/issues/955">#955</a>)</li> <li><a href="https://github.com/sashabaranov/go-openai/commit/da5f9bc9bc40537a0c2b451fffa9364efa94dbe1"><code>da5f9bc</code></a> Add CompletionRequest.StreamOptions (<a href="https://redirect.github.com/sashabaranov/go-openai/issues/959">#959</a>)</li> <li><a href="https://github.com/sashabaranov/go-openai/commit/bb5bc275678767d410d25d307959e1c45bc89c90"><code>bb5bc27</code></a> Add support for <code>4o-mini</code> and <code>3o</code> (<a href="https://redirect.github.com/sashabaranov/go-openai/issues/968">#968</a>)</li> <li><a href="https://github.com/sashabaranov/go-openai/commit/4cccc6c93455d2ff2cf52660c916cfa5907ddbd3"><code>4cccc6c</code></a> Adapt different stream data prefix, with or without space (<a href="https://redirect.github.com/sashabaranov/go-openai/issues/945">#945</a>)</li> <li><a href="https://github.com/sashabaranov/go-openai/commit/306fbbbe6f09ff7bd718e11cd322e88b442f4496"><code>306fbbb</code></a> Add support for reasoning_content field in chat completion messages for DeepS...</li> <li><a href="https://github.com/sashabaranov/go-openai/commit/658beda2ba8be4d155bc62208224a5766e0640c0"><code>658beda</code></a> feat: Add missing TTS models and voices (<a href="https://redirect.github.com/sashabaranov/go-openai/issues/958">#958</a>)</li> <li><a href="https://github.com/sashabaranov/go-openai/commit/d68a6838156049ada8c25d3f4b8fa3befb3b4d1b"><code>d68a683</code></a> feat: add new GPT-4.1 model variants to completion.go (<a href="https://redirect.github.com/sashabaranov/go-openai/issues/966">#966</a>)</li> <li><a href="https://github.com/sashabaranov/go-openai/commit/e99eb54c9d81cc102683921f4952a6d0c1964cbf"><code>e99eb54</code></a> add enum tag to jsonschema (<a href="https://redirect.github.com/sashabaranov/go-openai/issues/962">#962</a>)</li> <li><a href="https://github.com/sashabaranov/go-openai/commit/74d6449f22dd8bf668ebaeb181263b675b9a668b"><code>74d6449</code></a> feat: add gpt-4.5-preview models (<a href="https://redirect.github.com/sashabaranov/go-openai/issues/947">#947</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sashabaranov/go-openai/compare/v1.37.0...v1.39.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
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.
Bumps github.com/sashabaranov/go-openai from 1.37.0 to 1.39.0.
Release notes
Sourced from github.com/sashabaranov/go-openai's releases.
... (truncated)
Commits
93a611cAdd Prediction field (#970)6836cf6Remove redundant typecheck linter (#955)da5f9bcAdd CompletionRequest.StreamOptions (#959)bb5bc27Add support for4o-miniand3o(#968)4cccc6cAdapt different stream data prefix, with or without space (#945)306fbbbAdd support for reasoning_content field in chat completion messages for DeepS...658bedafeat: Add missing TTS models and voices (#958)d68a683feat: add new GPT-4.1 model variants to completion.go (#966)e99eb54add enum tag to jsonschema (#962)74d6449feat: add gpt-4.5-preview models (#947)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)