Skip to content

Fix test test/ex_aws/bedrock_test.exs:142 #60

@devstopfix

Description

@devstopfix

Assertion of inferenceTypesSupported being only ON_DEMAND is false

mix test test/ex_aws/bedrock_test.exs:142 | more
Running ExUnit with seed: 877285, max_cases: 16
Excluding tags: [:test]
Including tags: [location: {"test/ex_aws/bedrock_test.exs", 142}]



  1) test list_foundation_models/1 on demand models (ExAws.BedrockTest)
     test/ex_aws/bedrock_test.exs:139
     match (=) failed
     code:  assert %{"modelSummaries" => [%{"inferenceTypesSupported" => ["ON_DEMAND" | _]} | _]} = request!(request)
     left:  %{"modelSummaries" => [%{"inferenceTypesSupported" => ["ON_DEMAND" | _]} | _]}
     right: %{
              "modelSummaries" => [
                %{
                  "batchSupported" => %{
                    "baseModelSupported" => false,
                    "crossRegionSupported" => false,
                    "customModelSupported" => false
                  },
                  "consoleIDEMetadata" => nil,
                  "converse" => nil,
                  "customizationsSupported" => [],
                  "description" => nil,
                  "explicitPromptCaching" => %{"isSupported" => false},
                  "featuresSupported" => %{"promptOptimization" => false},
                  "guardrailsSupported" => true,
                  "inferenceTypesSupported" => ["INFERENCE_PROFILE"],

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions