mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-05 04:17:32 +00:00
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:
parent
208b861289
commit
572c01f454
5 changed files with 32 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue