Skip to content

Bump github.com/sashabaranov/go-openai from 1.37.0 to 1.39.0#2145

Merged
sawka merged 1 commit intomainfrom
dependabot/go_modules/github.com/sashabaranov/go-openai-1.39.0
May 2, 2025
Merged

Bump github.com/sashabaranov/go-openai from 1.37.0 to 1.39.0#2145
sawka merged 1 commit intomainfrom
dependabot/go_modules/github.com/sashabaranov/go-openai-1.39.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 2, 2025

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.

v1.39.0

What's Changed

New Contributors

Full Changelog: sashabaranov/go-openai@v1.38.3...v1.39.0

v1.38.3

What's Changed

New Contributors

Full Changelog: sashabaranov/go-openai@v1.38.2...v1.38.3

v1.38.2

What's Changed

New Contributors

Full Changelog: sashabaranov/go-openai@v1.38.1...v1.38.2

v1.38.1

What's Changed

Full Changelog: sashabaranov/go-openai@v1.38.0...v1.38.1

v1.38.0

What's Changed

... (truncated)

Commits
  • 93a611c Add Prediction field (#970)
  • 6836cf6 Remove redundant typecheck linter (#955)
  • da5f9bc Add CompletionRequest.StreamOptions (#959)
  • bb5bc27 Add support for 4o-mini and 3o (#968)
  • 4cccc6c Adapt different stream data prefix, with or without space (#945)
  • 306fbbb Add support for reasoning_content field in chat completion messages for DeepS...
  • 658beda feat: Add missing TTS models and voices (#958)
  • d68a683 feat: add new GPT-4.1 model variants to completion.go (#966)
  • e99eb54 add enum tag to jsonschema (#962)
  • 74d6449 feat: add gpt-4.5-preview models (#947)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

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>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go labels May 2, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 2, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need 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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@sawka sawka merged commit 0350851 into main May 2, 2025
4 of 7 checks passed
@sawka sawka deleted the dependabot/go_modules/github.com/sashabaranov/go-openai-1.39.0 branch May 2, 2025 17:36
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 />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/sashabaranov/go-openai&package-manager=go_modules&previous-version=1.37.0&new-version=1.39.0)](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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant