This file contains a log of development sessions, capturing key learnings, architectural insights, and summaries of changes. It is extracted from the more comprehensive GEMINI.md.bak file.
This section documents a collaborative development session focused on dependency modernization, new feature integration, and UI/UX refinements.
uv for Python dependencies, npm for frontend packages, Jinja2 for templating, and TypeScript (compiled to JS with esbuild) for client-side interactivity.app/config.py acting as the source of truth for feature flags, API keys, and environment URLs.uv sync (Python) and npm install (JS)../run-dev.sh.app/js-src/, they must be re-compiled to JavaScript using npm run build.systemd service (agora-server.service) which executes run-prod.sh. A typical deploy involves git pull, uv sync, and systemctl --user restart agora-server.uvpoetry dependency manager to align with the project’s move to uv.poetry.lock.README.md with uv installation and usage instructions.entrypoint.sh and Dockerfile to use uv sync instead of poetry install.pyproject.toml was already in a compatible format.GEMINI_API_KEY handling in app/config.py.google-generativeai library to pyproject.toml and installed it.gemini_complete function in app/providers.py./api/gemini_complete/<prompt> in app/agora.py.app/templates/genai.html to use a tabbed interface for selecting between Mistral and Gemini.app/js-src/main.ts to handle tab clicks, fetch from the correct API endpoint, and load the content into a shared div.config.py to link from the dev environment to production and vice-versa, preserving the user’s context..intro and .info-box divs to create a clearer visual hierarchy for different types of messages.app/templates/sync.html to use the new .intro class for search-related feedback.screen-dark.css and screen-light.css, ensuring the logic was correct for both themes and respected the CSS import order.