Claude Opus 5.5
Deploy faa8a28: style-variety standard for writers and planners; bundled LLM price map
e4fd4b9 Download apps/api/app/__init__.py from aliroya/contiai: direct link, hf CLI and curl.
- Browser
- Download file 507 Bytes
-
https://huggingface.co/spaces/aliroya/contiai/resolve/main/apps/api/app/__init__.py
- Command line
-
hf download hf://spaces/aliroya/contiai/apps/api/app/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/aliroya/contiai/resolve/main/apps/api/app/__init__.py
507 Bytes
| """ContiAI API. | |
| litellm prices every call from a model price map it downloads from GitHub | |
| when it is first imported. On 2026-10-11 that download stopped listing | |
| `openrouter/openai/gpt-4.1-mini` and `gpt-oss-120b:nitro`, so models the agents | |
| use could no longer be priced (test_llm_meter failed with no code change). | |
| The map bundled with the pinned litellm version is used instead: the price | |
| then changes only when the pin does. | |
| """ | |
| import os | |
| os.environ.setdefault("LITELLM_LOCAL_MODEL_COST_MAP", "True") | |