Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update openai-scala-client to 1.0.0 #104

Closed
wants to merge 1 commit into from

Conversation

scala-steward-didx[bot]
Copy link

@scala-steward-didx scala-steward-didx bot commented Apr 26, 2024

About this PR

πŸ“¦ Updates io.cequence:openai-scala-client from 0.5.0 to 1.0.0 ⚠

πŸ“œ GitHub Release Notes - Version Diff

Usage

βœ… Please merge!

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a .scala-steward.conf file.

Have a fantastic day writing Scala!

βš™ Adjust future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "io.cequence", artifactId = "openai-scala-client" } ]

Or, add this to slow down future updates of this dependency:

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.cequence", artifactId = "openai-scala-client" }
}]
labels: library-update, early-semver-major, semver-spec-major, commit-count:1

@ff137
Copy link
Collaborator

ff137 commented Apr 27, 2024

https://github.com/cequence-io/openai-scala-client/releases/tag/v1.0.0

Breaking Changes/Migrations: ⚠️

Instead of the deprecated MessageSpec, use typed {System, User, Assistant, Tool}Message
Instead of createChatFunCompletion with FunctionSpec(s), migrate to createChatToolCompletion using ToolSpec(s)
Use a new factory OpenAIChatCompletionServiceFactory with a custom URL and auth headers when only chat-completion is supported by a provider
Migrate streaming service creation from OpenAIServiceStreamedFactory to OpenAIStreamedServiceFactory or OpenAIServiceFactory.withStreaming() (required import: OpenAIStreamedServiceImplicits._)
Note that OpenAIServiceStreamedExtra.listFineTuneEventsStreamed has been removed
Migrate OpenAIMultiServiceAdapter.ofRoundRobin and ofRandomOrder to adapters.roundRobin and adapters.randomOrder (where adapter is, e.g., OpenAIServiceAdapters.forFullService)
Migrate OpenAIRetryServiceAdapter to adapters.retry
CreateImageSettings -> CreateImageEditSettings

@scala-steward-didx scala-steward-didx bot force-pushed the update/openai-scala-client-1.0.0 branch 2 times, most recently from e578d48 to 0cfe4ec Compare May 9, 2024 00:04
@scala-steward-didx scala-steward-didx bot force-pushed the update/openai-scala-client-1.0.0 branch from 0cfe4ec to f1b85fc Compare May 24, 2024 00:05
@ff137 ff137 marked this pull request as draft May 27, 2024 11:24
@scala-steward-didx
Copy link
Author

Superseded by #187.

@scala-steward-didx scala-steward-didx bot deleted the update/openai-scala-client-1.0.0 branch September 26, 2024 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant