(fix) config.yml

This commit is contained in:
ishaan-jaff 2024-03-09 18:23:57 -08:00
parent ada6cdab3d
commit ce19c2aeef
2 changed files with 3 additions and 5 deletions

View file

@ -1,15 +1,13 @@
version: 2.1 version: 2.1
jobs: jobs:
installing_litellm_on_python: installing_litellm_on_python:
local_testing:
docker: docker:
- image: circleci/python:3.8 - image: circleci/python:3.8
working_directory: ~/project working_directory: ~/project
steps: steps:
- checkout - checkout
- run:
- run:
name: Install Dependencies name: Install Dependencies
command: | command: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
@ -20,7 +18,7 @@ jobs:
pip install click pip install click
pip install jinja2 pip install jinja2
pip install tokenizers pip install tokenizers
pip install openai pip install openai
- run: - run:
name: Check if litellm dir was updated or if pyproject.toml was modified name: Check if litellm dir was updated or if pyproject.toml was modified
- run: - run:

View file

@ -69,7 +69,7 @@ def test_completion_claude():
response = completion( response = completion(
model="claude-instant-1", messages=messages, request_timeout=10 model="claude-instant-1", messages=messages, request_timeout=10
) )
# Add any assertions here to check response args # Add any assertions, here to check response args
print(response) print(response)
print(response.usage) print(response.usage)
print(response.usage.completion_tokens) print(response.usage.completion_tokens)