Skip to content

Commit

Permalink
Minor fix of error content
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-romanov-o committed Nov 14, 2024
1 parent b872f8c commit 8907e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aidial_adapter_bedrock/llm/model/stability/v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ async def chat(
)

if not self.image_to_image_supported and image_resources:
raise UserError(f"Image-to-image is not supported for {self.model}")
raise UserError("Image-to-Image is not supported.")
if len(image_resources) > 1:
raise UserError("Only one input image is supported")

Expand Down

0 comments on commit 8907e53

Please sign in to comment.