Skip to content

v0.8.0

Choose a tag to compare

@spacecodee spacecodee released this 10 Dec 04:00
· 36 commits to main since this release

[0.8.0] - 2025-12-09

Added

  • OpenRouter Support:

    • New AI provider option: OpenRouter alongside Google Gemini
    • Custom model ID input for OpenRouter models
    • Support for any OpenRouter model (e.g., tngtech/deepseek-r1t2-chimera:free)
    • Access to hundreds of models from different providers
    • Full localStorage persistence for OpenRouter model configuration
    • Integrated streaming support for OpenRouter responses
  • Environment Configuration:

    • Added openrouterApiKey to all environment files (development, production)
    • Updated .env.local.example with OPENROUTER_API_KEY variable
    • Configuration examples for both Google Gemini and OpenRouter providers
  • Docker & CI/CD Updates:

    • Updated Dockerfile to inject OPENROUTER_API_KEY during build
    • Added openrouter_api_key secret to GitHub Actions deploy workflow
    • Updated build-local.sh to handle OpenRouter API key for local builds
    • All build systems now support both Google Gemini and OpenRouter providers

Changed

  • SystemConfigService:

    • Added aiProvider signal to track selected provider (gemini/openrouter)
    • Added openrouterModel signal for custom model storage
    • New updateAiProvider() method
    • New updateOpenrouterModel() method
    • Removed Gemma models (incompatible with Google SDK, use OpenRouter for Gemma)
    • Kept 6 Gemini models for Google provider
  • AiService:

    • Added OpenRouter SDK integration (@openrouter/sdk)
    • Dynamic provider and model selection based on configuration
    • Separate methods for Gemini (analyzeWithGemini) and OpenRouter (analyzeWithOpenRouter) analysis
    • Image handling for both providers with proper base64 encoding
    • Streaming support for OpenRouter responses
    • Error handling for missing API keys or model configuration
  • AiModelSettingsDialog:

    • Provider selection dropdown (Google Gemini / OpenRouter)
    • Conditional UI: shows Gemini model list or OpenRouter text input
    • Enhanced layout with separated provider and model configuration
    • Information panel showing both Gemini and OpenRouter details
  • GitHub Actions:

    • Added OpenRouter API key to secrets in build-and-push step
    • Maintained secure secret mounting via Docker BuildKit

Removed

  • Gemma models from predefined list (use OpenRouter for access to Gemma models)

Full Changelog: v0.7.0...v0.8.0