We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 784445c commit ac7ec07Copy full SHA for ac7ec07
libs/aws/langchain_aws/chat_models/bedrock.py
@@ -805,7 +805,7 @@ class AnswerWithJustification(BaseModel):
805
schema, include_raw=include_raw, **kwargs
806
)
807
if "claude-3" not in self._get_model():
808
- ValueError(
+ raise ValueError(
809
f"Structured output is not supported for model {self._get_model()}"
810
811
0 commit comments