mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
test(bedrock): switch image gen live test off EOL Titan to Nova Canvas (#31937)
Co-authored-by: mateo <mateo@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
3d644e1f9d
commit
912ca6255c
1 changed files with 3 additions and 4 deletions
|
|
@ -527,12 +527,11 @@ def test_backward_compatibility_regular_nova_model():
|
|||
assert result["imageGenerationConfig"]["cfg_scale"] == 7
|
||||
|
||||
|
||||
def test_amazon_titan_image_gen():
|
||||
"""Test Amazon Titan image generation with cost tracking."""
|
||||
def test_amazon_nova_canvas_image_gen():
|
||||
"""Test Amazon Nova Canvas image generation with cost tracking."""
|
||||
from litellm import image_generation
|
||||
|
||||
# Use v2 as v1 has reached end of life
|
||||
model_id = "bedrock/amazon.titan-image-generator-v2:0"
|
||||
model_id = "bedrock/amazon.nova-canvas-v1:0"
|
||||
|
||||
response = litellm.image_generation(
|
||||
model=model_id,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue