Skip to content

Release 3.2.1

Choose a tag to compare

@thiswillbeyourgithub thiswillbeyourgithub released this 03 May 17:08
· 832 commits to main since this release

What's new

This small patch release primarily focuses on integrating OpenRouter for model pricing/metadata and refining cost calculations.

✨ Features

  • Set default models to use OpenRouter ([915699c]).
  • Fetch model prices and metadata automatically from OpenRouter, improving reliability ([7f840b7]).

🐛 Fixes & Enhancements

  • Much improved price calculation and handling:
    • Reworked computation to account for internal thinking costs ([c0b90d8]).
    • Enhanced method for retrieving model prices, supported parameters and maximum context size ([a17b41c]).
    • Clearer error message when model prices are missing ([2b29a9d]).
  • Updated litellm dependency ([179b589]).

🧪 Tests

  • API integration tests now fail faster if an underlying API call fails ([9a0c856]).

Commits details since the last release

bumpver.toml
docs/source/conf.py
setup.py
wdoc/wdoc.py

README.md
wdoc/utils/env.py

wdoc/utils/llm.py
wdoc/utils/misc.py
wdoc/utils/tasks/summarize.py
wdoc/wdoc.py

wdoc/utils/misc.py
wdoc/wdoc.py

tests/run_all_tests.sh

wdoc/utils/misc.py
wdoc/wdoc.py

wdoc/utils/misc.py

setup.py