-
Notifications
You must be signed in to change notification settings - Fork 7
Feature/add file support for telegram #184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
09b0b41 to
54def41
Compare
There was a problem hiding this 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.
7b6ec6a to
a906b91
Compare
…upport_for_telegram
Co-authored-by: Copilot <[email protected]>
Description
This change will add file & image support for telegram integrations
Type of Change
Testing
Checklist
Screenshots (if applicable)
Additional Notes