fix broken bedrock inference provider

This commit is contained in:
moritalous 2024-09-29 14:59:30 +00:00
parent f6a6598d1a
commit 54d7b2f2d7

View file

@ -94,4 +94,15 @@ def available_providers() -> List[ProviderSpec]:
provider_data_validator="llama_stack.providers.adapters.safety.together.TogetherProviderDataValidator",
),
),
remote_provider_spec(
api=Api.inference,
adapter=AdapterSpec(
adapter_id="bedrock",
pip_packages=[
"boto3"
],
module="llama_stack.providers.adapters.inference.bedrock",
config_class="llama_stack.providers.adapters.inference.bedrock.BedrockConfig",
),
),
]