Commit graph

1 commit

Author SHA1 Message Date
fenil modi
d1526c09fc feat(aiand): add ai& as a JSON-configured provider
Register ai& (https://api.aiand.com/v1) for chat completions, responses,
and Anthropic-style messages via the openai_like JSON provider path, with
AIAND_API_KEY/AIAND_API_BASE env vars and URL autodetection.

Add all 13 catalog models to both cost maps with per-token input, output,
and cache-read pricing, context and output limits, and capability flags
sourced from https://api.aiand.com/v1/api.json, plus scripts/
sync_aiand_models.py and a daily workflow that opens a PR when the live
catalog drifts from the registry. Removals stamp metadata.
absent_from_spec_since so every finding is a real file change, matching
the together_ai sync convention.

Register the provider in the Add Model form, dashboard provider maps
with logo, endpoint support matrices, and the README provider table.

Cover provider resolution, credential override, cost invariants over all
models, root/backup registry sync, respx-mocked chat, responses, and
messages routing, and the sync script's add, update, removal, and
reappearance paths in tests
2026-10-03 08:34:20 +00:00