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

@ -18,6 +18,7 @@ def get_request_provider_data() -> Any:
def set_request_provider_data(headers: Dict[str, str], validator_classes: List[str]):
if not validator_classes:
return