feat: update Mistral pricing and add cost calculation tests - #24
feat: update Mistral pricing and add cost calculation tests#24amanishimwe wants to merge 2 commits into
Conversation
|
@nagasatish007 , if you get time , please look at this as well. |
|
@nagasatish007 I am also open to you allocating some tasks! I have taken time to understand the workflow. |
|
Thanks @amanishimwe — clean PR. Two things: CI shows 5/21 passing — are the 16 failures pre-existing (from main) or introduced by your change? If pre-existing, that's fine and I'll merge. If introduced, let me know what's failing. |
|
Thanks @amanishimwe — glad you want to take on more. I have two tracks available and want to match you with what fits: Track A: Technical contributions — code, tests, integrations (like this PR). Track B: Developer Relations (DevRel) — building relationships with developers in other communities on behalf of TealTiger. Concretely this means:
Basically: you'd be TealTiger's presence in the broader AI developer ecosystem — building trust with developers who haven't heard of us yet, and connecting them to the project. Are you familiar with this kind of role? Would this interest you, or do you prefer staying purely technical? Both are valuable — no wrong answer. |
Pull Request
Description
Updates Mistral model pricing in
pricing.py(converted from current official $/M rates to per-1K) and adds unit tests for Mistral lookup + cost calculation.Related to agentguard-ai/tealtiger#311
Type of Change
Changes Made
*-latestpricing values insrc/tealtiger/cost/pricing.pytests/cost/test_pricing.pywith parametrized lookups and amistral-large-latestcost calculation testTesting
pytest tests/cost/test_pricing.py -v(9 passed)ruff check/blackon changed filesBreaking Changes
None.
Additional Notes
$/M ÷ 1000→*_cost_per_1k).C401inget_supported_providers():