mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
The Vercel AI Gateway models endpoint now returns video, image, and reranking model entries that lack the standard input/output token pricing keys (some embedding entries also omit the output key). The auto_update workflow blew up with a KeyError on row['pricing']['output'] the first time it hit one of those rows. Skip rows that don't expose an input price, default the output price to zero when only input is provided (covers embedding models), and read pricing once into a local to drop the redundant 'pricing in row' guard. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| codeql | ||
| ISSUE_TEMPLATE | ||
| observatory | ||
| screenshots | ||
| scripts | ||
| workflows | ||
| dependabot.yaml | ||
| deploy-to-aws.png | ||
| FUNDING.yml | ||
| pull_request_template.md | ||
| template.yaml | ||