diff --git a/src/commonMain/kotlin/message/Messages.kt b/src/commonMain/kotlin/message/Messages.kt index 38391b4..f37343b 100644 --- a/src/commonMain/kotlin/message/Messages.kt +++ b/src/commonMain/kotlin/message/Messages.kt @@ -88,7 +88,7 @@ data class MessageRequest( /** * Sets both, the [tools] list and the [toolChoice] with - * just one tool to use, forcing the API to respond with the [com.xemantic.anthropic.tool.ToolUse]. + * just one tool to use, forcing the API to respond with the [com.xemantic.anthropic.content.ToolUse]. */ inline fun singleTool() { val name = toolName() @@ -103,7 +103,7 @@ data class MessageRequest( /** * Sets both, the [tools] list and the [toolChoice] with * just one tool to use, forcing the API to respond with the - * [com.xemantic.anthropic.tool.ToolUse] instance. + * [com.xemantic.anthropic.content.ToolUse] instance. */ fun chooseTool(name: String) { val tool = requireNotNull(toolMap[name]) { diff --git a/src/commonTest/kotlin/message/MessageRequestTest.kt b/src/commonTest/kotlin/message/MessageRequestTest.kt index 148a1e6..dafbff4 100644 --- a/src/commonTest/kotlin/message/MessageRequestTest.kt +++ b/src/commonTest/kotlin/message/MessageRequestTest.kt @@ -78,6 +78,7 @@ class MessageRequestTest { """.trimIndent() } + @Suppress("unused") // it is used by the serializer enum class TemperatureUnit { @SerialName("celsius") CELSIUS,