Commit Graph

440 Commits

Author SHA1 Message Date
cyclop-bot 9c9b5991b6 Implement get_bot_status method to report enabled model and prompt path 2025-06-03 14:04:27 -05:00
cyclop-bot 88713a95c1 Add get_bot_status abstract method to InferenceBot 2025-06-03 14:04:26 -05:00
admin 668d14977a Added return message for model switching 2025-06-03 13:54:38 -05:00
admin 4dbe39dafa Removed unnecessary config file 2025-06-03 13:28:18 -05:00
admin 0aeb31f616 Merge pull request #211 from bucolucas/feat/telegram-helper-tests
feat: Add unit tests for telegram_helper.py
2025-06-03 13:28:04 -05:00
cyclop-bot f10781941c Fix: Correct assertion in test_switch_logic_supported to expect successful switch message. 2025-06-03 13:18:43 -05:00
cyclop-bot a82479c45d Fix: Correct sleep count assertion in test_handle_message_command_success_long_message 2025-06-03 13:12:31 -05:00
cyclop-bot b1e71bc80e Fix: Correct asyncio.sleep call count in long message test 2025-06-03 13:10:06 -05:00
cyclop-bot c416f63f76 Fix: Address test failures in telegram_helper.py tests 2025-06-03 13:09:04 -05:00
cyclop-bot 79e6f8bd18 Fix: Address test failures in telegram_helper.py tests 2025-06-03 13:08:39 -05:00
cyclop-bot 3208cc6cd3 feat: Add unit tests for telegram_helper.py 2025-06-03 13:05:53 -05:00
admin f15228fa58 Refactored gemini, openai and claude into one file and removed logic from the base class, also made helper class definable from command line 2025-06-03 13:04:42 -05:00
admin bd0ce3e340 Fixed CI tool and upped tool call limit 2025-06-02 19:35:41 -05:00
admin 7e4107522c Merge pull request #209 from bucolucas/fix/github-ci-helper-init
FIX: Allow GitHubCIHelper to initialize from environment variables
2025-06-02 19:18:35 -05:00
cyclop-bot 664113d919 FIX: Update GitHubCIHelper to use env vars for init 2025-06-02 19:13:52 -05:00
admin 887bae3972 Fixed whitespace 2025-06-02 18:53:45 -05:00
admin 1e39e92011 Merge pull request #208 from bucolucas/feature/add-ci-tool-json-definition
Feature: Add JSON tool definition and BaseTool integration for GitHubCIHelper
2025-06-02 18:41:37 -05:00
admin e036d91b8f Fixed newlines in github_ci_tool.py 2025-06-02 18:41:03 -05:00
admin fdec4bac8e Fixed newlines in github_ci_tool.py 2025-06-02 18:38:03 -05:00
cyclop-bot d9bc69b5da feat: Add tool definition and BaseTool integration to GitHubCIHelper
Integrates GitHubCIHelper with the BaseTool framework by:
- Adding get_functions() to define tool's capabilities in JSON format.
- Adding an execute() method for dispatching calls to its public methods.
- Updating __init__ for logger and session dependency injection.
- Applying @metrics.measure decorator to public methods.
- Enhancing logging, error handling, and regex for log parsing.
2025-06-02 18:35:11 -05:00
admin ef6763aaa9 Merge pull request #207 from bucolucas/feature/add-github-ci-tool
feat: Add GitHub CI log analysis tool and update developer prompt
2025-06-02 18:25:59 -05:00
cyclop-bot 62968d26cf docs: Update developer prompt with operational guidelines 2025-06-02 18:22:40 -05:00
cyclop-bot 030c3395cb feat: Add GitHubCIHelper tool for analyzing CI logs 2025-06-02 18:22:21 -05:00
admin b7d8184859 Merge pull request #206 from bucolucas/feature/ci-self-hosted-tests
CI: Add GitHub Actions workflow for self-hosted Python tests
2025-06-02 18:16:16 -05:00
cyclop-bot df2337762e feat: Add GitHub Actions workflow for self-hosted test runner 2025-06-02 18:15:03 -05:00
admin 80362693c8 Merge pull request #204 from bucolucas/fix-event-loop-telegram
Fix: No current event loop in thread 'MainThread' in telegram_helper.py
2025-06-02 17:41:25 -05:00
cyclop-bot b7e6eaa803 Refactor telegram_helper.py to correctly handle asyncio event loop by using Application.post_init for startup tasks. 2025-06-02 17:40:44 -05:00
admin a0e590f76f Removed max history length from openai calls 2025-06-02 17:13:05 -05:00
admin b52418886e Merge pull request #203 from bucolucas/refactor/testability-base-files
Refactor: Improve Testability of Base Bots and Core Tools
2025-06-02 17:10:54 -05:00
cyclop-bot 4a273c818d Update developer_prompt.txt with lessons on testability 2025-06-02 17:09:22 -05:00
cyclop-bot e4e5949fde Add unit tests for refactored MetricsTool 2025-06-02 17:06:46 -05:00
cyclop-bot a103a749b1 Refactor: Allow Metrics instance injection in MetricsTool 2025-06-02 17:05:43 -05:00
cyclop-bot 5616986a5f Add unit tests for Metrics class 2025-06-02 17:05:01 -05:00
cyclop-bot c6f787d88f Refactor: Improve time extraction and testability of Metrics class 2025-06-02 17:03:34 -05:00
cyclop-bot b7209e825e Add unit tests for refactored LogTool 2025-06-02 17:02:08 -05:00
cyclop-bot 5c0b39a858 Refactor: Improve testability of LogTool 2025-06-02 17:01:03 -05:00
cyclop-bot bd6cb21806 Add unit tests for refactored GitHubTool 2025-06-02 17:00:21 -05:00
cyclop-bot 2fbdaeec66 Refactor: Improve testability of GitHubTool 2025-06-02 16:58:52 -05:00
cyclop-bot d0d8910222 Add unit tests for GeminiTelegramInferenceBot 2025-06-02 16:53:36 -05:00
cyclop-bot dfddb43f11 Add unit tests for ChatGPTTelegramInferenceBot 2025-06-02 16:52:53 -05:00
cyclop-bot da0bdd60f9 Add unit tests for AnthropicTelegramInferenceBot 2025-06-02 16:52:09 -05:00
cyclop-bot 3ac1c350ab Add unit tests for OpenAICompatibleInferenceBot 2025-06-02 16:50:48 -05:00
cyclop-bot 59be9dbb5d Add unit tests for TelegramHelper 2025-06-02 16:49:11 -05:00
cyclop-bot ff4a7bc955 Add: Unit tests for BaseTelegramInferenceBot 2025-06-02 16:45:13 -05:00
cyclop-bot 50c92c2a63 Refactor: Generalize OpenAICompatibleInferenceBot initialization 2025-06-02 16:43:39 -05:00
cyclop-bot 0e4ba10e04 Refactor: Inject dependencies in GeminiTelegramInferenceBot 2025-06-02 16:42:48 -05:00
cyclop-bot 0347b8bd4f Refactor: Inject dependencies in ChatGPTTelegramInferenceBot 2025-06-02 16:42:22 -05:00
cyclop-bot e203afa493 Refactor: Inject dependencies in AnthropicTelegramInferenceBot 2025-06-02 16:41:53 -05:00
cyclop-bot 0c1a0d1e5b Refactor: Separate logic for reboot and check_doreboot_file in TelegramHelper 2025-06-02 16:41:02 -05:00
cyclop-bot a78bbb6cc5 Refactor: Separate logic for handle_message handler in TelegramHelper 2025-06-02 16:40:24 -05:00