refactor(search): remove the Gemini search backend
The user asked to drop it: nobody had the Gemini CLI login or a key set up, and Exa then Wikipedia cover the voice use. webSearch is now live Chrome, Exa, Brave (opt-in), Wikipedia. Removes the CLI/REST backends, the GEMINI_* settings, the Docker login mount and checks, and updates the specs and docs/llm_contexts.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -39,16 +39,11 @@ RUN wget -q -O /tmp/chrome.deb https://dl.google.com/linux/direct/google-chrome-
|
||||
# --- bun (Discord bot runtime/package manager) ---
|
||||
RUN curl -fsSL https://bun.sh/install | bash
|
||||
|
||||
# --- Node.js + Gemini CLI (the GEMINI_AUTH=oauth real-time search path shells
|
||||
# out to `gemini`; it needs a real Node runtime, not bun). The account
|
||||
# login itself is provided at runtime via the mounted ~/.gemini (see
|
||||
# docker-compose.yml); here we only install the binary. ---
|
||||
ARG GEMINI_CLI_VERSION=0.46.0
|
||||
# --- Node.js (the on-screen browser search helper, browse-search.mjs, needs a
|
||||
# real Node runtime, not bun) ---
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
||||
&& apt-get install -y --no-install-recommends nodejs \
|
||||
&& npm install -g "@google/gemini-cli@${GEMINI_CLI_VERSION}" \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& gemini --version
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# --- Python brain/bridge deps (slim set) ---
|
||||
COPY bridge/requirements-bridge.txt /app/bridge/requirements-bridge.txt
|
||||
|
||||
Reference in New Issue
Block a user