Skip to content

v0.2.59

Choose a tag to compare

@github-actions github-actions released this 19 Feb 04:35
· 131 commits to main since this release
7b937fb

Downloads

Desktop App

Platform Download Size
Windows (x64) CachiBot-Setup-0.2.59-win.exe 152.8 MB
macOS (Apple Silicon) CachiBot-0.2.59-mac.dmg 212.8 MB
Linux (x64 AppImage) CachiBot-0.2.59-linux.AppImage 205.2 MB
Linux (x64 .deb) CachiBot-0.2.59-linux.deb 162.0 MB
Linux (x64 .rpm) CachiBot-0.2.59-linux.rpm 172.8 MB

Python Package (pip)

pip install cachibot==0.2.59

Changes

Make .env handling respect CACHIBOT_WORKSPACE and wire per-bot provider values through the stack. Key changes:

  • desktop: Ensure CACHIBOT_WORKSPACE defaults to the user home when running under PyInstaller so .env is written to ~ without Electron.
  • backend (models/providers): Replace hardcoded ENV_PATH with _get_env_path() that reads CACHIBOT_WORKSPACE; use it for reading/writing .env.
  • models route: Pass bot-level provider keys into prompture by constructing a ProviderEnvironment and forcing a refresh when discovering available models.
  • frontend: Refresh the global models store after adding or deleting bot env vars so the UI picks up newly available providers.
  • message_processor: Use provider metadata to choose between endpoint vs api_key when building per-bot drivers; also improve error logging to include exception info.

These changes allow per-bot provider credentials/endpoints to be used for live model discovery and runtime driver construction, and ensure .env operations target the configured workspace.

Details