Skip to content

Commit 29128c1

Browse files
committed
chore: remove verbose debug logging in AnthropicChatModel
Signed-off-by: Gareth Evans <[email protected]>
1 parent b6ccb03 commit 29128c1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/AnthropicChatModel.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -608,17 +608,9 @@ private Map<String, String> mergeHttpHeaders(Map<String, String> runtimeHttpHead
608608
ChatCompletionRequest createRequest(Prompt prompt, boolean stream) {
609609

610610
// Get caching strategy and options from the request
611-
logger.debug("DEBUGINFO: prompt.getOptions() type: {}, value: {}",
612-
prompt.getOptions() != null ? prompt.getOptions().getClass().getName() : "null", prompt.getOptions());
613-
614611
AnthropicChatOptions requestOptions = null;
615612
if (prompt.getOptions() instanceof AnthropicChatOptions) {
616613
requestOptions = (AnthropicChatOptions) prompt.getOptions();
617-
logger.debug("DEBUGINFO: Found AnthropicChatOptions - cacheOptions {}", requestOptions.getCacheOptions());
618-
}
619-
else {
620-
logger.debug("DEBUGINFO: Options is NOT AnthropicChatOptions, it's: {}",
621-
prompt.getOptions() != null ? prompt.getOptions().getClass().getName() : "null");
622614
}
623615

624616
AnthropicCacheOptions cacheOptions = requestOptions != null ? requestOptions.getCacheOptions()

0 commit comments

Comments
 (0)