Commit Graph

402 Commits

Author SHA1 Message Date
cyclop-bot 9a1147c569 feat: Create api_helper.py for external copilot communication 2025-06-03 15:37:27 -05:00
admin e0d0c0a3f9 Removed the discord helper 2025-06-03 15:26:42 -05:00
admin 1338b973e2 Merge pull request #214 from bucolucas/fix-slash-commands
Fix: Discord Slash Commands Not Showing Up
2025-06-03 14:51:03 -05:00
cyclop-bot 023e0eacdb Temporarily remove browse command to fix slash command synchronization, as URL browsing functionality is not yet implemented. 2025-06-03 14:49:31 -05:00
cyclop-bot 7b9f0051c6 Refactor discord commands to use slash commands and ensure proper synchronization. 2025-06-03 14:48:48 -05:00
admin 33909a19c0 Merge branch 'main' of https://github.com/bucolucas/cyclop 2025-06-03 14:20:32 -05:00
admin 48b988bbb4 Removed unnecessary awaits 2025-06-03 14:20:09 -05:00
admin 788b6949aa Merge pull request #213 from bucolucas/feature/discord-helper
Add Discord helper module (discord_helper.py) and update .env.example for Discord support
2025-06-03 14:18:59 -05:00
cyclop-bot 9a2d05859d Add DISCORD_BOT_TOKEN to .env.example for Discord helper support. 2025-06-03 14:17:11 -05:00
cyclop-bot eb727765d7 Create discord_helper.py with analogous functionality and configuration as telegram_helper.py, adapted for Discord. 2025-06-03 14:17:06 -05:00
admin 19194f3c8f Merge pull request #212 from bucolucas/feature/add-bot-status-method
Add get_bot_status to InferenceBot and OpenAICompatibleInferenceBot
2025-06-03 14:07:34 -05:00
cyclop-bot aeb9acd97c Ensure browse_command updates bot.system_prompt_path when prompt file is selected 2025-06-03 14:06:59 -05:00
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