Skip to content

Commit eef508b

Browse files
committed
docs: clarify unified provider rationale
1 parent 783eaff commit eef508b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

aider/helpers/model_providers.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
"""Unified model provider metadata caching and lookup."""
1+
"""Unified model provider metadata caching and lookup.
2+
3+
Historically aider kept separate modules per provider (OpenRouter vs OpenAI-like).
4+
Those grew unwieldy and duplicated caching, request, and normalization logic.
5+
This helper centralizes that behavior so every OpenAI-compatible endpoint defines
6+
a small config blob and inherits the same cache + LiteLLM registration plumbing.
7+
"""
28

39
from __future__ import annotations
410

0 commit comments

Comments
 (0)