Skip to content

Commit 0350851

Browse files
Bump github.com/sashabaranov/go-openai from 1.37.0 to 1.39.0 (#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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent a5651fd commit 0350851

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ require (
2424
github.com/kevinburke/ssh_config v1.2.0
2525
github.com/mattn/go-sqlite3 v1.14.24
2626
github.com/mitchellh/mapstructure v1.5.0
27-
github.com/sashabaranov/go-openai v1.37.0
27+
github.com/sashabaranov/go-openai v1.39.0
2828
github.com/sawka/txwrap v0.2.0
2929
github.com/shirou/gopsutil/v4 v4.25.1
3030
github.com/skeema/knownhosts v1.3.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUc
144144
github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII=
145145
github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
146146
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
147-
github.com/sashabaranov/go-openai v1.37.0 h1:hQQowgYm4OXJ1Z/wTrE+XZaO20BYsL0R3uRPSpfNZkY=
148-
github.com/sashabaranov/go-openai v1.37.0/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg=
147+
github.com/sashabaranov/go-openai v1.39.0 h1:7Ubg/9njZlBJ8qFs6q5gExpfkAhy3E9VN3pciG7H6pY=
148+
github.com/sashabaranov/go-openai v1.39.0/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg=
149149
github.com/sawka/txwrap v0.2.0 h1:V3LfvKVLULxcYSxdMguLwFyQFMEU9nFDJopg0ZkL+94=
150150
github.com/sawka/txwrap v0.2.0/go.mod h1:wwQ2SQiN4U+6DU/iVPhbvr7OzXAtgZlQCIGuvOswEfA=
151151
github.com/shirou/gopsutil/v4 v4.25.1 h1:QSWkTc+fu9LTAWfkZwZ6j8MSUk4A2LV7rbH0ZqmLjXs=

0 commit comments

Comments
 (0)