3 Commits

Author SHA1 Message Date
33a76aa8cc feat: Implement Docker environment detection to use system Python and skip virtual environment management 2025-10-03 12:48:14 +07:00
42274e6ad5 feat: Implement dynamic message length handling for Discord to prevent exceeding character limits 2025-10-02 23:09:10 +07:00
9c180bdd89 Refactor OpenAI utilities and remove Python executor
- Removed the `analyze_data_file` function from tool definitions to streamline functionality.
- Enhanced the `execute_python_code` function description to clarify auto-installation of packages and file handling.
- Deleted the `python_executor.py` module to simplify the codebase and improve maintainability.
- Introduced a new `token_counter.py` module for efficient token counting for OpenAI API requests, including support for Discord image links and cost estimation.
2025-10-02 21:49:48 +07:00