mirror of
https://github.com/garrytan/gbrain.git
synced 2026-07-27 22:15:33 +00:00
Fixes #3223: lookupPricing's rerank branch only consulted ANTHROPIC_PRICING and the free-local set, so the tokenmax-default zerank-2 reranker returned null pricing and every capped rerank reserve hard-failed. Adds the zeroentropyai:zerank-2 entry ($0.025/1M) to EMBEDDING_PRICING and makes the rerank branch fall back to lookupEmbeddingPrice before the free-local check. Co-authored-by: Masashi-Ono0611 <Masashi-Ono0611@users.noreply.github.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>