From e5f9a2be53389c9207a9f8d63dd2cf123a3200ff Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Thu, 17 Aug 2023 13:31:47 -0700 Subject: [PATCH] fix docs + circle ci --- .circleci/config.yml | 10 ++++++++++ docs/my-website/docs/completion/output.md | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 47339bfb8c..09e68f19c5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,6 +8,16 @@ jobs: steps: - checkout + - run: + name: Check if litellm dir was updated or if pyproject.toml was modified + command: | + if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep -E 'pyproject\.toml|litellm/')" ]; then + echo "litellm updated" + else + echo "No changes to litellm or pyproject.toml. Skipping tests." + circleci step halt + fi + - run: name: Install Dependencies command: | diff --git a/docs/my-website/docs/completion/output.md b/docs/my-website/docs/completion/output.md index 60ed48f1ac..c6884487bb 100644 --- a/docs/my-website/docs/completion/output.md +++ b/docs/my-website/docs/completion/output.md @@ -24,7 +24,7 @@ Here's the exact json output and type you can expect from all litellm `completio ``` -Here's what an example liteLLMresponse looks like +Here's what an example response looks like ```python { 'choices': [