Commit Graph

14 Commits

Author SHA1 Message Date
7e26adc7a7 Display error details and tech wizard notice on errors
- Show actual error message in code block for debugging
- Add 'tech wizard needs to take a look' notice
- Content policy violations don't show tech notice (user issue)
2026-01-11 21:01:50 +01:00
bd73fe68ce Add image/GIF sending support in bot responses
- Extract image URLs from AI responses
- Send images as Discord embeds
- Support standalone URLs and markdown image syntax
- Clean image URLs from text to avoid duplication
- Handle multiple images in a single response
2026-01-11 21:00:36 +01:00
1f6e792fa3 Add user-friendly error messages for API errors
- Detect credit/quota exhaustion and show helpful message
- Handle authentication errors gracefully
- Handle model not found errors
- Handle content policy violations
- Fall back to generic error for unknown issues
2026-01-11 20:58:08 +01:00
4ac123be9c Add image and GIF vision support
- Add ImageAttachment dataclass for image metadata
- Update Message to support list of image attachments
- Update all providers (OpenAI, Anthropic, Gemini, OpenRouter) for vision
- Extract images from Discord attachments and embeds in ai_chat.py
- Supports PNG, JPEG, GIF, and WebP formats
2026-01-11 20:56:50 +01:00
8f521b869b Add user context for mentioned users in messages
- Bot now knows who is talking to it (display name, username, nickname)
- Bot recognizes other users mentioned in messages
- Includes user's display name, username, nickname, and top role
- Context is added to system prompt for AI awareness
2026-01-11 20:53:16 +01:00
1e2e6b0327 Merge pull request 'Add SearXNG web search for current information' (#8) from feature/internet-access into main
Reviewed-on: MSC/Daemon-Boyfriend#8
2026-01-11 19:51:41 +00:00
6a9b6fdda2 Add SearXNG web search for current information
- Add searxng.py service for web queries via SearXNG API
- Integrate search into ai_chat.py with AI-driven search decisions
- AI determines if query needs current info, then searches automatically
- Add SEARXNG_URL, SEARXNG_ENABLED, SEARXNG_MAX_RESULTS config options
- Update documentation in README.md, CLAUDE.md, and .env.example
2026-01-11 20:49:20 +01:00
c5c42c8701 Merge pull request 'feature/google-gemini-provider' (#5) from feature/google-gemini-provider into main
Reviewed-on: MSC/Daemon-Boyfriend#5
2026-01-11 19:41:09 +00:00
bdcdaeeac0 adding workflow 2026-01-11 20:29:59 +01:00
5761529c7f Add Google Gemini as AI provider
- Add gemini.py provider using google-genai SDK
- Update config.py with gemini provider and GEMINI_API_KEY
- Update ai_service.py factory to support gemini
- Add google-genai to requirements.txt
- Update .env.example, README.md, and CLAUDE.md documentation
2026-01-11 20:23:03 +01:00
b05fa034a6 Refactor: remove unused cogs and services, simplify architecture
- Remove admin.py and search.py cogs
- Remove searxng.py service and rate_limiter.py utility
- Update bot.py, ai_chat.py, config.py, and ai_service.py
- Update documentation and docker-compose.yml
2026-01-11 18:41:23 +01:00
0607b05e3b added claude 2026-01-10 21:49:29 +01:00
561f1a8fb1 first commit 2026-01-10 21:46:27 +01:00
d00593415d Initial commit 2026-01-10 20:20:10 +00:00