Commit Graph

7 Commits

Author SHA1 Message Date
Oleksandr Kozachuk ae870db181 human behavior: classifier gate, pacing, splitting, quiet hours, stable prompt prefix 2026-07-13 15:55:26 +02:00
Oleksandr Kozachuk 3d2289496b structured memory: facts/pinned/episodes, batched consolidation, participant-scoped recall 2026-07-13 14:12:21 +02:00
Oleksandr Kozachuk 02c989946b safety layer: hard daily budget, user quotas, spend report, forgetme + privacy 2026-07-13 13:21:45 +02:00
Oleksandr Kozachuk 6e5abf3d2c fix defects D1-D12 batch 1, structured envelope, saf gates + ops kill-switches 2026-07-13 12:56:32 +02:00
ok 38f0479d1e Implement comprehensive IGDB integration for real-time game information
## Major Features Added

- **Enhanced igdblib.py**:
  * Added search_games() method with fuzzy game search
  * Added get_game_details() for comprehensive game information
  * Added AI-friendly data formatting with _format_game_for_ai()
  * Added OpenAI function definitions via get_openai_functions()

- **OpenAI Function Calling Integration**:
  * Modified OpenAIResponder to support function calling
  * Added IGDB function execution with _execute_igdb_function()
  * Backward compatible - gracefully falls back if IGDB unavailable
  * Auto-detects gaming queries and fetches real-time data

- **Configuration & Setup**:
  * Added IGDB configuration options to config.toml
  * Updated system prompt to inform AI of gaming capabilities
  * Added comprehensive IGDB_SETUP.md documentation
  * Graceful initialization with proper error handling

## Technical Implementation

- **Function Calling**: Uses OpenAI's tools/function calling API
- **Smart Game Search**: Includes ratings, platforms, developers, genres
- **Error Handling**: Robust fallbacks and logging
- **Data Formatting**: Optimized for AI comprehension and user presentation
- **Rate Limiting**: Respects IGDB API limits

## Usage

Users can now ask natural gaming questions:
- "Tell me about Elden Ring"
- "What are good RPG games from 2023?"
- "Is Cyberpunk 2077 on PlayStation?"

The AI automatically detects gaming queries, calls IGDB API, and presents
accurate, real-time game information seamlessly.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-08 19:57:26 +02:00
ok b1ece64874 Implement possibility to answer to a different channel 2023-04-12 17:56:31 +02:00
ok c85153c490 Switch to TOML for config file, fix bugs. 2023-03-22 21:37:33 +01:00