Add Ollama API integration and enhance bot functionality

- Updated .env.example to include OLLAMA_API_KEY.
- Added Ollama to dependencies in pyproject.toml.
- Refactored main.py to incorporate Ollama for web search capabilities.
- Removed misc.py as its functionality has been integrated into main.py.
- Enhanced message handling and memory management for improved performance.
This commit is contained in:
Joakim Hellsén 2025-09-26 03:19:22 +02:00
commit 68e74ca6a3
5 changed files with 524 additions and 478 deletions

View file

@ -1,2 +1,3 @@
DISCORD_TOKEN=
OPENAI_TOKEN=
OLLAMA_API_KEY=