mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
fix(types/mcp): add refresh_token, expires_at, type fields to MCPCredentials TypedDict
This commit is contained in:
parent
efcadef6ed
commit
8dd8367cd0
1 changed files with 9 additions and 0 deletions
|
|
@ -117,6 +117,15 @@ class MCPCredentials(TypedDict, total=False):
|
|||
aws_session_name: Optional[str]
|
||||
"""Session name for STS AssumeRole (used in CloudTrail). Not a secret — stored unencrypted."""
|
||||
|
||||
refresh_token: Optional[str]
|
||||
"""OAuth 2.0 refresh token. Encrypted at rest."""
|
||||
|
||||
expires_at: Optional[str]
|
||||
"""ISO-8601 timestamp when the access token expires."""
|
||||
|
||||
type: Optional[str]
|
||||
"""Credential type identifier (e.g. 'oauth2')."""
|
||||
|
||||
|
||||
class MCPServerCostInfo(TypedDict, total=False):
|
||||
default_cost_per_query: Optional[float]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue