Skip to content

Conversation

@pulinduvidmal
Copy link
Contributor

@pulinduvidmal pulinduvidmal commented Dec 23, 2025

Description

This change will add file & image support for telegram integrations

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update
  • CI/CD update
  • Other (please describe):

Testing

  • Unit tests pass locally
  • Integration tests pass locally
  • Manual testing completed
  • New tests added for changes

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

@pulinduvidmal pulinduvidmal force-pushed the feature/add_file_support_for_telegram branch from 09b0b41 to 54def41 Compare December 23, 2025 15:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds multimodal support (images and files) to the Telegram integration, enabling users to send photos and documents alongside text messages for AI analysis. The changes also include session memory improvements to preserve conversation context with multimodal inputs.

  • Added file and image download functionality with base64 encoding for Telegram messages
  • Implemented session memory persistence for multimodal conversations in OpenAI framework
  • Added new Google ADK example (server_adk.py) demonstrating alternative agent framework
  • Updated documentation with comprehensive multimodal features guide

Reviewed changes

Copilot reviewed 7 out of 23 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
ak-py/src/agentkernel/integration/telegram/telegram_chat.py Core implementation adding file/image download, processing, and multi-request handling
ak-py/src/agentkernel/framework/openai/openai.py Session memory fix to manually save multimodal conversations for future reference
examples/api/telegram/server_adk.py New example showing Google ADK framework integration with Telegram
examples/api/telegram/build.sh Added adk to package extras for Google ADK support
examples/api/telegram/README.md Comprehensive documentation update with multimodal usage examples
docs/docs/integrations/telegram.md Integration guide updated with multimodal features, supported formats, and limitations
ak-py/src/agentkernel/integration/telegram/README.md Technical documentation for multimodal support and file handling
Multiple uv.lock files Dependency updates including openai-agents downgrade from 0.6.4 to 0.6.3

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pulinduvidmal pulinduvidmal force-pushed the feature/add_file_support_for_telegram branch from 7b6ec6a to a906b91 Compare December 28, 2025 21:02
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.

2 participants