262 Commits

Author SHA1 Message Date
35d93131f1 Update Dockerfile and requirements for Chromium support; enhance Chrome driver initialization in web_utils.py 2025-03-17 17:52:36 +07:00
07b51dcfd7 Add Selenium support for web scraping and enhance token counting 2025-03-17 17:19:06 +07:00
7b7abc96a3 Update web content scraping token limit and add .dockerignore file 2025-03-17 05:37:44 +07:00
a24be7bfe9 Remove commented-out test case for web content scraping in TestWebUtils 2025-03-16 22:57:56 +07:00
da3d58360e Update test case to use example.com for web content scraping 2025-03-16 22:55:48 +07:00
30bb94ec8c Update token encoding in web_utils.py to use o200k_base for improved compatibility 2025-03-16 22:51:59 +07:00
cd81114e64 Enhance web content scraping by adding token limit and support for tiktoken 2025-03-16 22:44:10 +07:00
eb90e4f46a Update README.md to enhance clarity and add new features 2025-03-16 22:10:27 +07:00
Vu Quoc Anh
ade407497d Update Dockerfile 2025-03-16 21:13:48 +07:00
Vu Quoc Anh
c8ba5cde25 Update web_utils.py 2025-03-16 20:29:22 +07:00
7da8ad56fe Reduce web content scrape limit from 7000 to 6000 characters to prevent model overload 2025-03-16 09:54:34 +07:00
c9f699307a Add logs directory to .gitignore to prevent log files from being tracked 2025-03-15 21:58:18 +07:00
9ced3b1502 Enhance logging in discord bot and update requirements to include webdriver-manager 2025-03-15 21:57:11 +07:00
05aa91318b Reduce web content scrape limit from 15000 to 7000 characters to prevent model overload 2025-03-15 20:56:07 +07:00
efe3674e77 Update normal chat prompt to include C++ and Python for code interpretation 2025-03-15 17:50:36 +07:00
c0c20dbdaf Update requirements.txt to adjust package versions; enhance C++ code execution timeout and compilation options in code_utils.py 2025-03-15 17:35:09 +07:00
Vu Quoc Anh
f3bd85fa67 Update Dockerfile 2025-03-15 14:02:55 +07:00
Vu Quoc Anh
66ac346f02 Update Dockerfile 2025-03-15 13:26:40 +07:00
Vu Quoc Anh
a20e3754d9 Update Dockerfile 2025-03-15 13:24:39 +07:00
Vu Quoc Anh
98424f1f81 Update requirements.txt 2025-03-15 13:22:08 +07:00
de0c357839 Refactor Dockerfile to install gcc and C++ separately; update requirements.txt to enhance dependency versions and add new packages for improved functionality 2025-03-15 13:17:19 +07:00
9069d16f19 Add logging configuration and enable webhook logging in config.py; update Dockerfile to include gcc and c++ dependencies 2025-03-15 13:09:15 +07:00
372916c211 Enhance PDF analysis prompt to ensure responses match user language and fix await usage in PDF processing function 2025-03-14 17:32:23 +07:00
41929a7c8d Update NORMAL_CHAT_PROMPT to clarify tool usage and response guidelines 2.0.0 2025-03-14 12:32:49 +07:00
7280d641da Fix Python site-packages path in Dockerfile for correct package copying 2025-03-14 11:34:38 +07:00
80ffabf53f Refine NORMAL_CHAT_PROMPT for clarity and remove excessive formatting instructions 2025-03-14 11:29:21 +07:00
0d2016b63d Update Dockerfile to use Python 3.12.3 and refine NORMAL_CHAT_PROMPT for clarity 2025-03-14 11:23:55 +07:00
d8d45f6392 Refactor Dockerfile to use multi-stage builds, update Python version, and include Rust dependencies 2025-03-14 11:21:06 +07:00
95e9160663 Update NORMAL_CHAT_PROMPT to include tool names and clarify usage instructions 2025-03-14 11:09:26 +07:00
Vu Quoc Anh
31f70d9bc5 Update Dockerfile 2025-03-13 23:58:25 +07:00
4b5adafea8 Update Dockerfile to include Rust compiler and adjust Python version 2025-03-13 23:28:42 +07:00
69880f6734 Enhance test coverage for DatabaseHandler with environment variable support and real database handling 2025-03-13 23:18:41 +07:00
8955d089c7 Initialize tests package with __init__.py 2025-03-13 22:18:09 +07:00
8136aa2dda Refactor Dockerfile for multi-stage build, update dependencies in requirements.txt, and add image generation and database handler modules 2025-03-13 22:10:57 +07:00
826d3e3fe4 Update NORMAL_CHAT_PROMPT to clarify C++ usage for calculations 2025-03-12 11:48:32 +07:00
1d01f1827f Update NORMAL_CHAT_PROMPT to specify C++ for code calculations 2025-03-12 11:34:20 +07:00
00219d120f Update NORMAL_CHAT_PROMPT to include tool names and clarify response guidelines 2025-03-11 21:30:23 +07:00
fd11b03bc1 Remove auto deploy to server. 2025-03-09 22:09:36 +07:00
1ac6c689a1 Remove health-check configuration from docker-compose 2025-03-06 21:14:29 +07:00
d3358eaa5f Remove Flask import from bot implementation 2025-03-06 21:07:18 +07:00
d0287e7b9f Remove Flask server and health-check endpoint from bot implementation and update requirements 2025-03-06 21:00:32 +07:00
Vu Quoc Anh
af68d6182f Update for deploying to raspberry pi 2025-03-02 19:11:03 +07:00
Vu Quoc Anh
1e1e21c9ee Update main.yml 2025-03-01 21:15:18 +07:00
6419a8e1d4 Skip SSL certificate verification in web scraping and improve text sorting logic 1.0.8 2025-02-26 17:41:17 +07:00
295bee8727 2025-02-26 17:09:06 +07:00
9c260fde71 Add blacklist check decorator for command execution 2025-02-26 07:41:08 +07:00
7081b27a93 Defer interaction response in stop command and update permission message handling 2025-02-25 23:18:57 +07:00
e92c37dcaf Implement user task management and add command to stop user processes 2025-02-25 23:06:28 +07:00
bc5b00698b Refactor web scraping logic and enhance code sanitization tests for Python and C++ 2025-02-25 21:39:54 +07:00
cbae78491d Enhance code sanitization feedback for Python and C++; refactor tests to use pytest and improve structure 2025-02-25 18:29:54 +07:00