# NousResearch/hermes-agent · Telegram send_document using full path instead of basename

## Open now

- 1 issue, 1 PR open on GitHub.
- #67552: \[Bug\]: send_document() appears to use the full file path instead of the basename, causing long filename delivery failures
- PR #67565: fix(telegram): preserve document basenames in standalone sends

A bug where send_document() passes the full file path as the filename, causing delivery failures for long paths. Multiple fix attempts address this by explicitly passing the basename.

## TL;DR

- 6 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 4 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.33`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #67552: \[Bug\]: send_document() appears to use the full file path instead of the basename, causing long filename delivery failures

## Prior & competing PRs

- **#67565: fix(telegram): preserve document basenames in standalone sends**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `4a46d8c8fb11`, `#67565`, `#67792`, `#68021`, `#68219`, `#69169`, `#63505`, `#374151`, `#67552`
  - files: `tests/tools/test_issue_67552_repro.py`, `tools/send_message_tool.py`
- **#67792: fix(telegram): use basename for send_document filename (#67552)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#67565`
- **#68021: fix(telegram): pass explicit filename basename to bot.send_document**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#67565`
- **#68219: fix(telegram): pass filename=basename to bot.send_document to fix silent delivery failure on long paths**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#67565`
- **#69169: fix: pass explicit basename to send_document and fix silent error handling in Telegram media send**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#67565`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
