Class AnthropicDiagnosticsParameters
java.lang.Object
dev.langchain4j.model.anthropic.internal.api.AnthropicDiagnosticsParameters
Request parameters enabling Anthropic's (beta) cache diagnostics feature.
previousMessageId must be serialized even when null, since sending
"diagnostics": {"previous_message_id": null} is how a caller opts in on the first
turn of a conversation. Requires the cache-diagnosis-2026-04-07 beta header.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetPreviousMessageId(String previousMessageId) toString()
-
Field Details
-
previousMessageId
-
-
Constructor Details
-
AnthropicDiagnosticsParameters
public AnthropicDiagnosticsParameters() -
AnthropicDiagnosticsParameters
-
-
Method Details
-
getPreviousMessageId
-
setPreviousMessageId
-
equals
-
hashCode
-
toString
-