guibranco / dotnet-aicommitmessage

🧠 🧰 This tool generates AI-powered commit messages via Git hooks, automating meaningful message suggestions from OpenAI and others to improve commit quality and efficiency.
https://guibranco.github.io/dotnet-aicommitmessage/
MIT License
1 stars 2 forks source link

Bump OpenAI from 2.0.0-beta.13 to 2.0.0 #72

Closed dependabot[bot] closed 4 weeks ago

dependabot[bot] commented 4 weeks ago

Bumps OpenAI from 2.0.0-beta.13 to 2.0.0.

Release notes

Sourced from OpenAI's releases.

OpenAI_2.0.0

What's Changed

Full Changelog: https://github.com/openai/openai-dotnet/compare/OpenAI_2.0.0-beta.13...OpenAI_2.0.0

Changelog

Sourced from OpenAI's changelog.

2.0.0 (2024-09-30)

[!NOTE] First stable version of the official OpenAI library for .NET.

Features Added

  • Support for OpenAI's latest flagship models, including GPT-4o, GPT-4o mini, o1-preview, and o1-mini
  • Support for the entire OpenAI REST API, including:
    • Structured outputs
    • Reasoning tokens
    • Experimental support for Assistants beta v2
  • Support for sync and async APIs
  • Convenient APIs to facilitate working with streaming chat completions and assistants
  • Tons of other quality-of-life features for ease of use and productivity

Breaking Changes

[!NOTE] The following breaking changes only apply when upgrading from the previous 2.0.0-beta.* versions.

  • Implemented ChatMessageContent to encapsulate the representation of content parts in ChatMessage, ChatCompletion, and StreamingChatCompletionUpdate. (31c2ba6)
  • Changed the representation of function arguments to BinaryData in ChatToolCall, StreamingChatToolCallUpdate, ChatFunctionCall, and StreamingChatFunctionCallUpdate. (31c2ba6)
  • Renamed OpenAIClientOptions's ApplicationId to UserAgentApplicationId. (31c2ba6)
  • Renamed StreamingChatToolCallUpdate's Id to ToolCallId. (31c2ba6)
  • Renamed StreamingChatCompletionUpdate's Id to CompletionId. (31c2ba6)
  • Replaced Auto and None in the deprecated ChatFunctionChoice with CreateAutoChoice() and CreateNoneChoice(). (31c2ba6)
  • Replaced the deprecated ChatFunctionChoice(ChatFunction) constructor with CreateNamedChoice(string functionName). (31c2ba6)
  • Renamed FileClient to OpenAIFileClient and the corresponding GetFileClient() method in OpenAIClient to GetOpenAIFileClient(). (31c2ba6)
  • Renamed ModelClient to OpenAIModelClient and the corresponding GetModelClient() method in OpenAIClient to GetOpenAIModelClient(). (31c2ba6)
Commits


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 will merge this PR once CI passes on it, as requested by @guibranco.


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 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)
dependabot[bot] commented 4 weeks ago

The following labels could not be found: nuget, .NET, dependencies.

deepsource-io[bot] commented 4 weeks ago

Here's the code health analysis summary for commits 650c758..753b092. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Shell LogoShell✅ SuccessView Check ↗
DeepSource Test coverage LogoTest coverage✅ SuccessView Check ↗
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource C# LogoC#✅ SuccessView Check ↗

Code Coverage Report

MetricAggregateC#
Branch Coverage7.1%7.1%
Condition Coverage7.1%7.1%
Composite Coverage8.3%8.3%
Line Coverage8.6%8.6%

💡 If you’re a repository administrator, you can configure the quality gates from the settings.
guibranco commented 4 weeks ago

@dependabot squash and merge

github-actions[bot] commented 4 weeks ago

Infisical secrets check: ✅ No secrets leaked!

💻 Scan logs ```txt 7:10AM INF scanning for exposed secrets... 7:10AM INF 59 commits scanned. 7:10AM INF scan completed in 81.2ms 7:10AM INF no leaks found ```