mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-31 16:01:46 +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 typing import Protocol, runtime_checkable
|
||||
|
||||
from pydantic import BaseModel
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
from llama_stack.schema_utils import json_schema_type, webmethod
|
||||
|
||||
|
@ -31,7 +31,7 @@ class ProviderCredential(BaseModel):
|
|||
provider_id: str
|
||||
token_type: CredentialTokenType
|
||||
token: str
|
||||
expires_at: datetime
|
||||
expires_at: datetime = Field(description="The time at which the credential expires. In UTC.")
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue