mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-01 16:24:44 +00:00
fixes
This commit is contained in:
parent
e4a7f482de
commit
c4d32600f2
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ from datetime import datetime
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import Protocol, runtime_checkable
|
from typing import Protocol, runtime_checkable
|
||||||
|
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel, Field
|
||||||
|
|
||||||
from llama_stack.schema_utils import json_schema_type, webmethod
|
from llama_stack.schema_utils import json_schema_type, webmethod
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ class ProviderCredential(BaseModel):
|
||||||
provider_id: str
|
provider_id: str
|
||||||
token_type: CredentialTokenType
|
token_type: CredentialTokenType
|
||||||
token: str
|
token: str
|
||||||
expires_at: datetime
|
expires_at: datetime = Field(description="The time at which the credential expires. In UTC.")
|
||||||
|
|
||||||
|
|
||||||
@runtime_checkable
|
@runtime_checkable
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue