
# ⬆️ Upgrade Log: Gemini 2.0 Migration

**Date:** 2025-12-07
**Version:** CrumbCore v1.1 (Gemini Edition)

## 🚀 Changes

### 1. Model Migration
All roles in the Crumbforest have been migrated from OpenAI (GPT) and Anthropic (Claude) to **Google Gemini 2.0**.

*   **Old:** `openai/gpt-4o-mini`, `anthropic/claude-3-5-sonnet`
*   **New:** `google/gemini-2.0-flash-001`
*   **Reason:** Unified "Gemini Context", improved performance, lower latency, and simplification of provider usage via OpenRouter.

### 2. Configuration
The `crumbforest_config.json` has been updated to reflect these changes.
*   The system remains flexible: Individual roles can be switched back to other models anytime by editing the `model` field in the config.
*   No new API keys required (uses existing OpenRouter key).

### 3. Stability & RAG
*   Fixed "Internal Server Error (RAG)" by ensuring correct model IDs.
*   Verified vector search against Qdrant collections (`docs_crumbforest_`, `docs_rz_nullfeld_`).
*   All 15 roles successfully retrieve context and answer in character.

### 4. Admin Enhancements
*   Vector Admin Dashboard now includes correct Gitea linking logic.
*   Admin Logs correctly track model usage.

## 🧪 Verification
A full test suite (`test_roles_rag.py`) was run against all roles:
*   ✅ DumboSQL
*   ✅ SnakePy
*   ✅ PepperPHP
*   ✅ Templatus
*   ✅ FunkFox
*   ✅ Schraubaer
*   ✅ Schnecki
*   ✅ TaichiTaube
*   ✅ Eule
*   ✅ DeepBit
*   ✅ Capacitoby
*   ✅ GitBadger
*   ✅ CloudCat
*   ✅ Schnippsi
*   ✅ Bugsy

All roles are online and responsive.

---
*Generated by Antigravity*
