mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 05:12:38 +02:00
docs(router): drop reference to virtual openrouter/free in is_premium_model
This commit is contained in:
parent
2019e90a04
commit
4d34b56c4d
1 changed files with 5 additions and 5 deletions
|
|
@ -344,11 +344,11 @@ class LLMRouterService:
|
||||||
Scope: only covers configs with ``router_pool_eligible`` truthy. That
|
Scope: only covers configs with ``router_pool_eligible`` truthy. That
|
||||||
includes static YAML premium configs AND dynamic OpenRouter *premium*
|
includes static YAML premium configs AND dynamic OpenRouter *premium*
|
||||||
entries (which opt in at generation time). Dynamic OpenRouter *free*
|
entries (which opt in at generation time). Dynamic OpenRouter *free*
|
||||||
entries and the virtual ``openrouter/free`` router are deliberately
|
entries are deliberately kept out of the router pool — OpenRouter
|
||||||
kept out of the router pool — OpenRouter enforces free-tier limits
|
enforces free-tier limits globally per account, so per-deployment
|
||||||
globally per account, so per-deployment router accounting can't
|
router accounting can't represent them correctly — and therefore
|
||||||
represent them correctly — and therefore return ``False`` here, which
|
return ``False`` here, which matches their ``billing_tier="free"``
|
||||||
matches their ``billing_tier="free"`` (no premium quota).
|
(no premium quota).
|
||||||
|
|
||||||
For per-request premium checks on an arbitrary config (static or
|
For per-request premium checks on an arbitrary config (static or
|
||||||
dynamic, pool or non-pool), read ``agent_config.is_premium`` instead;
|
dynamic, pool or non-pool), read ``agent_config.is_premium`` instead;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue