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:
parent
eec1ed4f59
commit
68e74ca6a3
5 changed files with 524 additions and 478 deletions
|
|
@ -9,6 +9,7 @@ dependencies = [
|
|||
"discord-py",
|
||||
"httpx",
|
||||
"numpy",
|
||||
"ollama",
|
||||
"openai",
|
||||
"opencv-contrib-python-headless",
|
||||
"psutil",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue