Bump github.com/sashabaranov/go-openai from 1.30.3 to 1.31.0 (#869)

Bumps
[github.com/sashabaranov/go-openai](https://github.com/sashabaranov/go-openai)
from 1.30.3 to 1.31.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.31.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Filter messages by the run ID that generated them. (run_id string
Optional) by <a
href="https://github.com/floodwm"><code>@​floodwm</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/855">sashabaranov/go-openai#855</a></li>
<li>Optimize Client Error Return by <a
href="https://github.com/eiixy"><code>@​eiixy</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/856">sashabaranov/go-openai#856</a></li>
<li>Fix max_completion_tokens by <a
href="https://github.com/alexsacr"><code>@​alexsacr</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/860">sashabaranov/go-openai#860</a></li>
<li>fix: ParallelToolCalls should be added to RunRequest by <a
href="https://github.com/kenshin54"><code>@​kenshin54</code></a> in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/861">sashabaranov/go-openai#861</a></li>
<li>feat: usage struct add CompletionTokensDetails by <a
href="https://github.com/liushuangls"><code>@​liushuangls</code></a> in
<a
href="https://redirect.github.com/sashabaranov/go-openai/pull/863">sashabaranov/go-openai#863</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/floodwm"><code>@​floodwm</code></a> made
their first contribution in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/855">sashabaranov/go-openai#855</a></li>
<li><a href="https://github.com/alexsacr"><code>@​alexsacr</code></a>
made their first contribution in <a
href="https://redirect.github.com/sashabaranov/go-openai/pull/860">sashabaranov/go-openai#860</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/sashabaranov/go-openai/compare/v1.30.3...v1.31.0">https://github.com/sashabaranov/go-openai/compare/v1.30.3...v1.31.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fdd59d9341"><code>fdd59d9</code></a>
feat: usage struct add CompletionTokensDetails (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/863">#863</a>)</li>
<li><a
href="e9d8485e90"><code>e9d8485</code></a>
fix: ParallelToolCalls should be added to RunRequest (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/861">#861</a>)</li>
<li><a
href="7f80303cc3"><code>7f80303</code></a>
Fix max_completion_tokens (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/860">#860</a>)</li>
<li><a
href="38bdc812df"><code>38bdc81</code></a>
Optimize Client Error Return (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/856">#856</a>)</li>
<li><a
href="e095df5325"><code>e095df5</code></a>
run_id string Optional (<a
href="https://redirect.github.com/sashabaranov/go-openai/issues/855">#855</a>)</li>
<li>See full diff in <a
href="https://github.com/sashabaranov/go-openai/compare/v1.30.3...v1.31.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.30.3&new-version=1.31.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>
This commit is contained in:
dependabot[bot] 2024-09-26 14:36:30 -07:00 committed by GitHub
parent 47fdd4461d
commit 20f4ff6564
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

2
go.mod
View file

@ -16,7 +16,7 @@ require (
github.com/kevinburke/ssh_config v1.2.0
github.com/mattn/go-sqlite3 v1.14.23
github.com/mitchellh/mapstructure v1.5.0
github.com/sashabaranov/go-openai v1.30.3
github.com/sashabaranov/go-openai v1.31.0
github.com/sawka/txwrap v0.2.0
github.com/shirou/gopsutil/v4 v4.24.8
github.com/skeema/knownhosts v1.3.0

4
go.sum
View file

@ -54,8 +54,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sashabaranov/go-openai v1.30.3 h1:TEdRP3otRXX2A7vLoU+kI5XpoSo7VUUlM/rEttUqgek=
github.com/sashabaranov/go-openai v1.30.3/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg=
github.com/sashabaranov/go-openai v1.31.0 h1:rGe77x7zUeCjtS2IS7NCY6Tp4bQviXNMhkQM6hz/UC4=
github.com/sashabaranov/go-openai v1.31.0/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg=
github.com/sawka/txwrap v0.2.0 h1:V3LfvKVLULxcYSxdMguLwFyQFMEU9nFDJopg0ZkL+94=
github.com/sawka/txwrap v0.2.0/go.mod h1:wwQ2SQiN4U+6DU/iVPhbvr7OzXAtgZlQCIGuvOswEfA=
github.com/shirou/gopsutil/v4 v4.24.8 h1:pVQjIenQkIhqO81mwTaXjTzOMT7d3TZkf43PlVFHENI=