mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix mypy lint errors
This commit is contained in:
parent
43db2011cc
commit
ceab3cfa7c
4 changed files with 10 additions and 1 deletions
|
@ -1026,7 +1026,6 @@ from .proxy.proxy_cli import run_server
|
|||
from .router import Router
|
||||
from .assistants.main import *
|
||||
from .batches.main import *
|
||||
from .anthropic import *
|
||||
from .batch_completion.main import * # type: ignore
|
||||
from .rerank_api.main import *
|
||||
from .llms.anthropic.experimental_pass_through.messages.handler import *
|
||||
|
@ -1039,6 +1038,7 @@ from .cost_calculator import response_cost_calculator, cost_per_token
|
|||
|
||||
### ADAPTERS ###
|
||||
from .types.adapter import AdapterItem
|
||||
import litellm.anthropic_interface as anthropic
|
||||
|
||||
adapters: List[AdapterItem] = []
|
||||
|
||||
|
|
9
litellm/anthropic_interface/readme.md
Normal file
9
litellm/anthropic_interface/readme.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
## Use LLM API endpoints in Anthropic Interface
|
||||
|
||||
Note: This is called `anthropic_interface` because `anthropic` is a known python package and was failing mypy type checking.
|
||||
|
||||
### Usage
|
||||
|
||||
```python
|
||||
import litellm.anthropic_interface as anthropic
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue