Daily JSON update: 2024-05-19

This commit is contained in:
Rajan Paneru 2024-05-19 17:54:47 +09:30
parent c0ceac1dba
commit 41d76b477b
2 changed files with 37 additions and 0 deletions

View file

@ -311,6 +311,32 @@ jobs:
"https://api.github.com/repos/BerriAI/litellm/actions/workflows/ghcr_deploy.yml/dispatches" \
-d "{\"ref\":\"main\", \"inputs\":{\"tag\":\"v${VERSION}\", \"commit_hash\":\"$CIRCLE_SHA1\"}}"
<<<<<<< HEAD
=======
auto_update_price_and_context_window:
docker:
- image: circleci/python:3.9
steps:
- checkout
- run:
name: Install Dependencies
command: |
pip install aiohttp
- run:
name: Update Price and Context Window
command: |
python ci_cd/auto_update_price_and_context_window_file.py
- run:
name: Commit Changes
command: |
git config user.name "CircleCI"
git config user.email "circleci@example.com"
git add model_prices_and_context_window.json
git commit -m "[skip ci] Daily Price and Context window update: $(date +'%Y-%m-%d')"
git push -q origin main
schedule:
- cron: "0 0 * * *"
>>>>>>> dd2e31c59 (Daily JSON update: 2024-05-19)
workflows:
version: 2
build_and_test:
@ -341,3 +367,9 @@ workflows:
branches:
only:
- main
<<<<<<< HEAD
=======
daily_update_price_and_context_window:
jobs:
- auto_update_price_and_context_window
>>>>>>> dd2e31c59 (Daily JSON update: 2024-05-19)

View file

@ -1696,8 +1696,13 @@
},
"openrouter/databricks/dbrx-instruct": {
"max_tokens": 32768,
<<<<<<< HEAD
"input_cost_per_token": 0.0000006,
"output_cost_per_token": 0.0000006,
=======
"input_cost_per_token": 1.08e-06,
"output_cost_per_token": 1.08e-06,
>>>>>>> dd2e31c59 (Daily JSON update: 2024-05-19)
"litellm_provider": "openrouter",
"mode": "chat"
},