feat: Telegram bot users tab + mobile RAG controls#650
Merged
Conversation
- New model GoogleDriveProject (per-user Drive folder → RAG collection) - Sync service: recursive folder scan, Docs→text, Sheets→CSV, text files - Router: CRUD + sync at /admin/google-drive/projects - Uses DatasetSynced event for reactive indexing (BM25 + embeddings) ## NEWS 📚 **Google Диск как база знаний!** Теперь можно подключить папку Google Диска как источник базы знаний (RAG). Документы, таблицы и текстовые файлы автоматически индексируются, и ассистент может искать по ним при ответах в чате. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…trols Telegram: - Users tab now shows real bot users (from sessions) with avatar, name, username, Telegram ID, registration date, last activity - Access settings (allowed/admin users) moved below user list Google Drive RAG: - GoogleDriveProject model — Drive folder as knowledge base collection - router_google_drive.py — CRUD + sync endpoints (/admin/google-drive/*) - google_drive_sync_service.py — sync Drive files to RAG collections - Alembic migration for google_drive_projects table - Registered in orchestrator.py Mobile: - ChatListView: improved LLM/RAG session details loading - chat.ts: added rag_mode, knowledge_collection_ids to session types ## NEWS 👥 **Пользователи Telegram-ботов теперь видны в админке!** Во вкладке «Пользователи» теперь отображается полный список людей, которые взаимодействовали с ботом — с аватарками, именами, юзернеймами и датами активности. Также добавили синхронизацию Google Drive с базой знаний и улучшили настройки RAG в мобильном приложении. Relates to #271 Relates to #484 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Relates to #271
Relates to #484
NEWS
👥 Пользователи Telegram-ботов теперь видны в админке!
Во вкладке «Пользователи» теперь отображается полный список людей, которые взаимодействовали с ботом — с аватарками, именами, юзернеймами и датами активности. Также улучшили настройки RAG в мобильном приложении.
Test plan
🤖 Generated with Claude Code