Add routing prefixes bedrock/nova/<ARN> and bedrock/nova-2/<ARN> so LiteLLM can identify the base model family for custom/imported Nova models and enable the correct supported params (tools, web_search, reasoning_effort). Changes: - Route nova/ and nova-2/ prefixed models to converse API - Strip spec prefix before sending ARN to Bedrock - Return sentinel base models (amazon.nova-custom, amazon.nova-2-custom) so downstream Nova checks work - Recognize nova-2/ prefix in _is_nova_2_model() for reasoning support - Handle nova/nova-2 in get_bedrock_model_id() for proper ARN encoding - Add unit tests for all new behavior |
||
|---|---|---|
| .. | ||
| anthropic | ||
| bedrock | ||
| deepseek | ||
| gradient_ai/chat | ||
| oci/chat | ||
| openai_like | ||
| vertex_ai | ||