mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 07:10:00 +00:00
fix unit tests
This commit is contained in:
parent
b937a49436
commit
01fac67e33
6 changed files with 37 additions and 40 deletions
|
|
@ -23,10 +23,7 @@ class RequestProviderDataContext(ContextManager):
|
|||
def __init__(
|
||||
self, provider_data: Optional[Dict[str, Any]] = None, auth_attributes: Optional[Dict[str, List[str]]] = None
|
||||
):
|
||||
# Initialize with either provider_data or create a new dict
|
||||
self.provider_data = provider_data or {}
|
||||
|
||||
# Add auth attributes under a special key if provided
|
||||
if auth_attributes:
|
||||
self.provider_data["__auth_attributes"] = auth_attributes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue