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:
@@ -76,19 +76,5 @@ fi
|
||||
# --- Ensure the Piper voice exists (best effort) ---
|
||||
bash /app/docker/download-piper.sh || echo "[entrypoint] piper download failed; TTS may be unavailable"
|
||||
|
||||
# --- Gemini OAuth login check (GEMINI_AUTH=oauth real-time search) ---
|
||||
# The browser-only role never runs the reply engine / web search, so skip the
|
||||
# check there. Otherwise warn (don't fail) when oauth is selected but no login
|
||||
# has been seeded into the mounted ~/.gemini, since the path silently degrades
|
||||
# to the DDG/Brave cascade.
|
||||
if [ "${JARVIS_ROLE:-full}" != "browser" ] \
|
||||
&& [ "${GEMINI_AUTH:-oauth}" = "oauth" ] \
|
||||
&& [ ! -f /root/.gemini/oauth_creds.json ]; then
|
||||
echo "[entrypoint] 🔑 GEMINI_AUTH=oauth but no Gemini login at /root/.gemini/oauth_creds.json"
|
||||
echo "[entrypoint] Real-time search will fall back to DDG/Brave until you seed the login."
|
||||
echo "[entrypoint] Seed it: copy a logged-in ~/.gemini into the host's gemini-oauth dir"
|
||||
echo "[entrypoint] (default ./docker/gemini-oauth, or set GEMINI_OAUTH_DIR). See docs/DEPLOY.md."
|
||||
fi
|
||||
|
||||
echo "[entrypoint] display=$DISPLAY ollama=$OLLAMA_BASE_URL whisper=$WHISPER_MODEL/$WHISPER_DEVICE"
|
||||
exec supervisord -c /app/docker/supervisord.conf
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# Seed directory for the Gemini CLI OAuth login used by GEMINI_AUTH=oauth.
|
||||
# docker-compose bind-mounts this dir into the container's ~/.gemini.
|
||||
# Seed it once (see docker-compose.yml): cp -r ~/.gemini/. docker/gemini-oauth/
|
||||
# The login files themselves are gitignored (they contain account tokens).
|
||||
Reference in New Issue
Block a user