Skip to content

v0.5.4

Choose a tag to compare

@qfeuilla qfeuilla released this 12 Jul 18:29
· 10 commits to main since this release

Added

  • GeneratorInfo::with_base_url: point a generator at a different address (a gateway, a proxy, a self-hosted endpoint). Every request the crate makes for that generator goes there.

Fixed

  • The OpenRouter cost lookup (/generation) hardcoded openrouter.ai, so a generator pointed at a gateway resolved its costs past the gateway. It now uses the generator's own address, like every other request.
  • PostStreamCtx carries base_url instead of assuming the provider's host (affects only code implementing the Provider trait).