for agents API, provider data from the header is not parsed as for agents there is no provider_data_validator meta-reference implementation. Added Together data validator as the provider_data_validator for now. Did some code changes accordingly.

This commit is contained in:
Yogish Baliga 2024-09-27 14:59:24 -07:00
parent 208b861289
commit 572c01f454
5 changed files with 32 additions and 14 deletions

View file

@ -29,6 +29,7 @@ def available_providers() -> List[ProviderSpec]:
Api.safety,
Api.memory,
],
provider_data_validator="llama_stack.providers.adapters.safety.together.TogetherProviderDataValidator",
),
remote_provider_spec(
api=Api.agents,