Skip to content

Commit 7846224

Browse files
committed
Formatting
1 parent a8f04a6 commit 7846224

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/domain/tools/MemoryTool.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package io.cequence.openaiscala.anthropic.domain.tools
22

33
/**
4-
* Memory tool for persisting information across conversations. Name is always "memory". Type is "memory_20250818".
4+
* Memory tool for persisting information across conversations. Name is always "memory". Type
5+
* is "memory_20250818".
56
*/
67
case class MemoryTool() extends Tool {
78
override val name: String = "memory"

anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/Anthropic.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ trait Anthropic
2222
protected val logger: Logger = Logger(LoggerFactory.getLogger(this.getClass))
2323

2424
protected val skillHeaders: Seq[(String, String)] = Seq(
25-
("anthropic-beta", "skills-2025-10-02"),
25+
("anthropic-beta", "skills-2025-10-02")
2626
// ("anthropic-beta", "code-execution-2025-08-25"),
2727
// ("anthropic-beta", "files-api-2025-04-14")
2828
)

anthropic-client/src/main/scala/io/cequence/openaiscala/anthropic/service/impl/package.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ package object impl extends AnthropicServiceConsts {
103103
case ((acc, userMessagesToCacheCount), message) =>
104104
message match {
105105
case Message.UserMessage(contentString, _) =>
106-
val newCacheControl = if (userMessagesToCacheCount > 0) Some(Ephemeral()) else None
106+
val newCacheControl =
107+
if (userMessagesToCacheCount > 0) Some(Ephemeral()) else None
107108
(
108109
acc :+ Message.UserMessage(contentString, newCacheControl),
109110
userMessagesToCacheCount - newCacheControl.map(_ => 1).getOrElse(0)

0 commit comments

Comments
 (0)