Skip to content

Send image paths mentioned by the agent#204

Open
keeendaaa wants to merge 1 commit into
RichardAtCT:mainfrom
keeendaaa:send-image-paths-upstream
Open

Send image paths mentioned by the agent#204
keeendaaa wants to merge 1 commit into
RichardAtCT:mainfrom
keeendaaa:send-image-paths-upstream

Conversation

@keeendaaa
Copy link
Copy Markdown

@keeendaaa keeendaaa commented May 9, 2026

Description

Send local image files back to Telegram when the agent response mentions an existing image path.

The extraction is restricted to files under APPROVED_DIRECTORY and supports absolute paths, quoted paths, relative paths, and bare filenames under the current working directory.

Related Issue

Not filed.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing

  • Tests added/updated
  • All tests pass
  • Manual testing completed

Targeted check run:

python3 -m compileall src/bot/utils/image_extractor.py src/bot/orchestrator.py

Checklist

  • make format has been run (or pre-commit hooks are installed via make dev)
  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated
  • No breaking changes (or clearly documented)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant