mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
fix(lint): Fix B008 for gigachat api route
This commit is contained in:
parent
d4e2657504
commit
0972e593c0
2 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ from __future__ import annotations
|
|||
import json
|
||||
import os
|
||||
import re
|
||||
from typing import TYPE_CHECKING, Any, Callable, cast
|
||||
from typing import TYPE_CHECKING, Annotated, Any, Callable, cast
|
||||
|
||||
import httpx
|
||||
from fastapi import APIRouter, Depends, HTTPException, Request, Response, WebSocket
|
||||
|
|
@ -2309,7 +2309,7 @@ async def gigachat_proxy_route(
|
|||
endpoint: str,
|
||||
request: Request,
|
||||
fastapi_response: Response,
|
||||
user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),
|
||||
user_api_key_dict: Annotated[UserAPIKeyAuth, Depends(user_api_key_auth)],
|
||||
):
|
||||
"""
|
||||
[Docs](https://docs.litellm.ai/docs/pass_through/gigachat)
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
"limit": 190
|
||||
},
|
||||
"B008": {
|
||||
"limit": 506
|
||||
"limit": 505
|
||||
},
|
||||
"B009": {
|
||||
"limit": 84
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue