Skip to content

Commit 3bb8172

Browse files
committed
Renaming 'openai-scala-anthropic-client' to 'openai-anthropic-client' to have consistent lib names
1 parent 537fc3e commit 3bb8172

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Then you can obtain a service in one of the following ways.
139139
)
140140
```
141141

142-
3. [Anthropic](https://www.anthropic.com/api) (requires our `openai-anthropic-client` lib)
142+
3. [Anthropic](https://www.anthropic.com/api) (requires our `openai-scala-anthropic-client` lib)
143143
```scala
144144
val service = AnthropicServiceFactory.asOpenAI()
145145
```

anthropic-client/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
name := "openai-anthropic-client"
1+
name := "openai-scala-anthropic-client"
22

33
description := "Scala client for Anthropic API implemented using Play WS lib."

openai-examples/src/main/scala/io/cequence/openaiscala/examples/nonopenai/AnthropicCreateChatCompletionWithOpenAIAdapter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import io.cequence.openaiscala.service.OpenAIChatCompletionService
88

99
import scala.concurrent.Future
1010

11-
// requires `openai-anthropic-client` as a dependency and `ANTHROPIC_API_KEY` environment variable to be set
11+
// requires `openai-scala-anthropic-client` as a dependency and `ANTHROPIC_API_KEY` environment variable to be set
1212
object AnthropicCreateChatCompletionWithOpenAIAdapter
1313
extends ExampleBase[OpenAIChatCompletionService] {
1414

openai-examples/src/main/scala/io/cequence/openaiscala/examples/nonopenai/AnthropicCreateMessage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import io.cequence.openaiscala.examples.ExampleBase
1111

1212
import scala.concurrent.Future
1313

14-
// requires `openai-anthropic-client` as a dependency and `ANTHROPIC_API_KEY` environment variable to be set
14+
// requires `openai-scala-anthropic-client` as a dependency and `ANTHROPIC_API_KEY` environment variable to be set
1515
object AnthropicCreateMessage extends ExampleBase[AnthropicService] {
1616

1717
override protected val service: AnthropicService = AnthropicServiceFactory()

openai-examples/src/main/scala/io/cequence/openaiscala/examples/nonopenai/AnthropicCreateMessageStreamed.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import io.cequence.openaiscala.examples.ExampleBase
1010

1111
import scala.concurrent.Future
1212

13-
// requires `openai-anthropic-client` as a dependency and `ANTHROPIC_API_KEY` environment variable to be set
13+
// requires `openai-scala-anthropic-client` as a dependency and `ANTHROPIC_API_KEY` environment variable to be set
1414
object AnthropicCreateMessageStreamed extends ExampleBase[AnthropicService] {
1515

1616
override protected val service: AnthropicService = AnthropicServiceFactory()

openai-examples/src/main/scala/io/cequence/openaiscala/examples/nonopenai/AnthropicCreateMessageWithImage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import java.util.Base64
1515
import javax.imageio.ImageIO
1616
import scala.concurrent.Future
1717

18-
// requires `openai-anthropic-client` as a dependency
18+
// requires `openai-scala-anthropic-client` as a dependency
1919
object AnthropicCreateMessageWithImage extends ExampleBase[AnthropicService] {
2020

2121
private val localImagePath = sys.env("EXAMPLE_IMAGE_PATH")

0 commit comments

Comments
 (0)