hermes - 💡(How to fix) Fix [Bug]: Google chat placeholders (GC0, GC1, ...) show up in output [3 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

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Fix Action

Fixed

Code Example

* Reactivated Copper Opportunity XXXX (Status moved from Abandoned to GC6).

---

Report       https://paste.rs/5hnE4
  agent.log    https://dpaste.com/9QQ8MTSSL
  gateway.log  https://dpaste.com/FQ3HFS32N

---
RAW_BUFFERClick to expand / collapse

Bug Description

The code in question is here: https://github.com/NousResearch/hermes-agent/blob/main/plugins/platforms/google_chat/adapter.py#L2031C13-L2031C44

    def _ph(value: str) -> str:
        key = f"\x00GC{counter[0]}\x00"
        counter[0] += 1
        placeholders[key] = value
        return key

in my output, i am seeing the placeholder (and just it), e.g.:

 * Reactivated Copper Opportunity XXXX (Status moved from Abandoned to GC6).

I'm not exactly sure what is going wrong, but, i think it should say the underlying term, not the placeholder.

Steps to Reproduce

  1. use google chat
  2. give hermes a task where it will report some results
  3. observe the results have GC0...N for the placeholders

Expected Behavior

I can see the original value, not the placeholder

Actual Behavior

placeholder (GC0)

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

Report       https://paste.rs/5hnE4
  agent.log    https://dpaste.com/9QQ8MTSSL
  gateway.log  https://dpaste.com/FQ3HFS32N

Operating System

Ubuntu 26.04

Python Version

3.14.4

Hermes Version

v0.13.0

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

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 - 💡(How to fix) Fix [Bug]: Google chat placeholders (GC0, GC1, ...) show up in output [3 pull requests]