mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-09 08:18:12 +00:00
Nace released drex-max, the Drex decision model that also reads images, and the existing nace provider could not use it: the catalog had no row, so cost tracking and the dashboard did not know the model, and image input was refused before the request left the gateway. Add the nace/drex-max catalog row to both cost map files with supports_vision and the per-question token limit, let the nace decisions provider forward images as the top-level images array Nace reads (inline images as data URLs, remote URLs fetched and inlined, at most 8 per request), and accept provider nace in the Auto Router classifier config so a tier can be chosen by drex-max with NACE_API_KEY. Also: resolve os.environ/ references for the classifier's nace api_key and api_base once, and refuse an unset one instead of falling back to NACE_API_KEY; price drex-max at $0.03 per 1M input tokens and add drex-max-v1.1; mark the retired drex-v1.0, now served by drex-max, as vision-capable; and accept provider nace in the dashboard's classifier config (default drex-max), the generated API types and the member auto-router permission check. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_call.py | ||
| test_main.py | ||