Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/connectors/anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,16 @@ def _prepare_anthropic_payload(
logger.warning(
"AnthropicBackend does not support the 'logit_bias' parameter."
)
if request_data.repetition_penalty is not None and logger.isEnabledFor(
logging.WARNING
):
logger.warning(
"AnthropicBackend does not support the 'repetition_penalty' parameter."
)
if request_data.min_p is not None and logger.isEnabledFor(logging.WARNING):
logger.warning(
"AnthropicBackend does not support the 'min_p' parameter."
)

# Include tools and tool_choice when provided (tests set these fields)
if request_data.tools is not None:
Expand Down
Loading
Loading