hermes - ✅(Solved) Fix [Bug]: Error: HTTP 404: Code Assist 404: Requested entity was not found. [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

📝 Error: HTTP 404: Code Assist 404: Requested entity was not found. is not available at cloudcode-pa.googleapis.com. It may have been renamed or retired. Check hermes_cli/models.py for the current list. ⚠️ Non-retryable error (HTTP 404) — trying fallback... ❌ Non-retryable error (HTTP 404): HTTP 404: Code Assist 404: Requested entity was not found. is not available at cloudcode-pa.googleapis.com. It may have been renamed or retired. Check hermes_cli/models.py for the current list. ❌ Non-retryable client error (HTTP 404). Aborting. 💡 This type of error won't be fixed by retrying. Error: Code Assist 404: Requested entity was not found. is not available at cloudcode-pa.googleapis.com. It

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Fix Action

Fix / Workaround

⚠️ API call failed (attempt 1/3): CodeAssistError [HTTP 404] 🔌 Provider: google-gemini-cli Model: gemini-3-flash-preview 🌐 Endpoint: cloudcode-pa://google 📝 Error: HTTP 404: Code Assist 404: Requested entity was not found. is not available at cloudcode-pa.googleapis.com. It may have been renamed or retired. Check hermes_cli/models.py for the current list. ⚠️ Non-retryable error (HTTP 404) — trying fallback... ❌ Non-retryable error (HTTP 404): HTTP 404: Code Assist 404: Requested entity was not found. is not available at cloudcode-pa.googleapis.com. It may have been renamed or retired. Check hermes_cli/models.py for the current list. ❌ Non-retryable client error (HTTP 404). Aborting. 🔌 Provider: google-gemini-cli Model: gemini-3-flash-preview 🌐 Endpoint: cloudcode-pa://google 💡 This type of error won't be fixed by retrying. ─ ⚕ Hermes ─────────────────────────────────────────────────────────────────────────────────────────────────────────

PR fix notes

PR #13392: fix(gemini-cli): add gemini-2.5 models to google-gemini-cli catalog and improve 404 error message

Description (problem / solution / changelog)

Problem

gemini-3-flash-preview and other gemini-3.x preview models are no longer available via Google Code Assist API (HTTP 404). The adapter already defaults to gemini-2.5-flash internally, but the model catalog in hermes_cli/models.py only listed gemini-3.x names — so users had no way to know which models actually work.

The 404 error message only said "Check hermes_cli/models.py" which was unhelpful.

Fix

  • Add gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.0-flash to google-gemini-cli model list
  • Keep gemini-3.x entries for backward compatibility (marked as legacy)
  • Improve 404 error message to show currently supported models and the exact command to switch: hermes model gemini-2.5-flash

Fixes #13260

Changed files

  • agent/gemini_cloudcode_adapter.py (modified, +10/-3)
  • hermes_cli/models.py (modified, +4/-0)

Code Example

Report     https://paste.rs/P9yGp
agent.log  https://paste.rs/JS8oi

---
RAW_BUFFERClick to expand / collapse

Bug Description

use gemini Code Assist, tips:

⚠️ API call failed (attempt 1/3): CodeAssistError [HTTP 404] 🔌 Provider: google-gemini-cli Model: gemini-3-flash-preview 🌐 Endpoint: cloudcode-pa://google 📝 Error: HTTP 404: Code Assist 404: Requested entity was not found. is not available at cloudcode-pa.googleapis.com. It may have been renamed or retired. Check hermes_cli/models.py for the current list. ⚠️ Non-retryable error (HTTP 404) — trying fallback... ❌ Non-retryable error (HTTP 404): HTTP 404: Code Assist 404: Requested entity was not found. is not available at cloudcode-pa.googleapis.com. It may have been renamed or retired. Check hermes_cli/models.py for the current list. ❌ Non-retryable client error (HTTP 404). Aborting. 🔌 Provider: google-gemini-cli Model: gemini-3-flash-preview 🌐 Endpoint: cloudcode-pa://google 💡 This type of error won't be fixed by retrying. ─ ⚕ Hermes ─────────────────────────────────────────────────────────────────────────────────────────────────────────

 Error: Code Assist 404: Requested entity was not found. is not available at cloudcode-pa.googleapis.com. It
 may have been renamed or retired. Check hermes_cli/models.py for the current list.

Steps to Reproduce

  1. configure gemini Code Assist
  2. and then "hermes"
  3. start chat
  4. API call failed (attempt 1/3): CodeAssistError [HTTP 404] 🔌 Provider: google-gemini-cli Model: gemini-3-flash-preview 🌐 Endpoint: cloudcode-pa://google

Expected Behavior

return the model respond

Actual Behavior

<img width="1792" height="784" alt="Image" src="https://github.com/user-attachments/assets/8956915c-e8dd-4428-a157-0e217cc9aa1c" />

Affected Component

Configuration (config.yaml, .env, hermes setup)

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

Report     https://paste.rs/P9yGp
agent.log  https://paste.rs/JS8oi

Operating System

Windows 11-WSL-ubuntu 22.04

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

extent analysis

TL;DR

Check the hermes_cli/models.py file for the current list of available models and update the configuration accordingly.

Guidance

  • Verify that the gemini-3-flash-preview model is available in the hermes_cli/models.py file and that the endpoint cloudcode-pa://google is correctly configured.
  • Check the debug report at https://paste.rs/P9yGp and the agent log at https://paste.rs/JS8oi for any additional error messages or clues.
  • Consider updating the google-gemini-cli provider to the latest version, if available, to ensure compatibility with the latest models and endpoints.
  • If the model is not available, try using a different model or endpoint to see if the issue is specific to the gemini-3-flash-preview model.

Example

No code snippet is provided as the issue seems to be related to configuration and model availability rather than code.

Notes

The issue may be caused by a retired or renamed model, and updating the configuration to use a available model should resolve the issue. However, without more information about the hermes_cli/models.py file and the current configuration, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Check the hermes_cli/models.py file and update the configuration to use a available model, as the error message suggests that the gemini-3-flash-preview model may have been renamed or retired.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix [Bug]: Error: HTTP 404: Code Assist 404: Requested entity was not found. [1 pull requests]