Skip to content

[Bug]: Google chat placeholders (GC0, GC1, ...) show up in output #24567

@donbowman

Description

@donbowman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/gatewayGateway runner, session dispatch, deliverycomp/pluginsPlugin system and bundled pluginstype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions