forked from phoenix/litellm-mirror
linting fix
This commit is contained in:
parent
8b43917792
commit
53018e4b23
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ jobs:
|
||||||
name: Linting Testing
|
name: Linting Testing
|
||||||
command: |
|
command: |
|
||||||
cd litellm
|
cd litellm
|
||||||
python -m pip install types-requests types-setuptools
|
python -m pip install types-requests types-setuptools types-redis
|
||||||
if ! python -m mypy . --ignore-missing-imports; then
|
if ! python -m mypy . --ignore-missing-imports; then
|
||||||
echo "mypy detected errors"
|
echo "mypy detected errors"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -14,7 +14,7 @@ from litellm import embedding, completion
|
||||||
from litellm.caching import Cache
|
from litellm.caching import Cache
|
||||||
|
|
||||||
messages = [{"role": "user", "content": "who is ishaan Github? "}]
|
messages = [{"role": "user", "content": "who is ishaan Github? "}]
|
||||||
|
# comment
|
||||||
|
|
||||||
# test if response cached
|
# test if response cached
|
||||||
def test_caching():
|
def test_caching():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue