445 Commits

Author SHA1 Message Date
admin c0cfeb2454 Github agent addition
Python CI / test (3.10) (push) Waiting to run
2026-05-30 16:30:25 -05:00
admin 65537c4174 removed inference limit code 2026-01-21 13:41:03 -06:00
admin b29cd6e6f6 Merge branch 'main' of https://github.com/bucolucas/cyclop 2025-08-13 14:32:00 -05:00
admin 30b2fcc66f Updated developer prompt 2025-08-13 14:31:35 -05:00
admin 124a09def1 Merge pull request #237 from bucolucas/feat/context-window-optimizer-16k-32k
feat: 16k/32k context management with request-only tool-call summarization and budget enforcement
2025-08-13 14:31:20 -05:00
admin b9b07320bc feat: robust 16k/32k context management with request-only tool-call summarization and budget enforcement
- Add normalization of messages before API calls
- Implement token projection and enforce budget for 16k/32k windows
- Summarize only tool-call request arguments (not responses) when over budget
- Optionally elide redundant code blocks in old assistant messages as last-resort trimming
- Default small-model limit to 16k, large to 32k; reserve space for response tokens
- Keep core behavior and tool execution unchanged
2025-08-13 14:25:13 -05:00
admin 7bd1bcf82b Fixed code errors 2025-08-13 13:36:03 -05:00
admin a820099e3e Merge pull request #235 from bucolucas/docs/add-tools-readme
Add RepoIndexTool and expand tools README
2025-08-09 18:42:19 -05:00
admin 6d7ec9f84b feat(tools): add RepoIndexTool for fast repo discovery and content previews 2025-08-09 18:36:36 -05:00
admin b6fd77e0be Docs: add comprehensive tools overview and contribution guide 2025-08-09 18:35:27 -05:00
admin 131dd92899 Merge pull request #234 from bucolucas/feat/partial-file-commits-github_tool
feat(github_tool): support partial file commits via commit_file_patch
2025-08-09 18:31:55 -05:00
admin 21b0fff6c4 feat(github_tool): add commit_file_patch to support partial line-based edits without uploading entire file content from the caller
- New function commit_file_patch(file_path, commit_message, edits, base_sha=None)
- Applies line-range edits on the current file content and commits the result
- Preserves original newline style and supports insert/replace/delete via ranges
- Prevents committing directly to main and detects stale base via optional base_sha

This enables the agent to send only the minimal edits rather than entire files.
2025-08-09 18:26:07 -05:00
admin 9ce0c9943b Clean quotes from code when submitting 2025-08-09 18:19:42 -05:00
admin e504407190 Fix RAG inference 2025-08-07 15:38:01 -05:00
admin 4327e1c581 updated powershell in reindex_on_merge 2025-06-06 17:57:47 -05:00
admin 7b8cafc184 updated reindex on merge 2025-06-06 17:56:14 -05:00
admin 4f1b8dfe6e Fixed create_index.py, added venv to reindex action 2025-06-06 17:52:42 -05:00
admin 4aa02450c9 Merge branch 'main' of https://github.com/bucolucas/cyclop 2025-06-06 17:49:20 -05:00
admin eec5f7113a changed reindex job 2025-06-06 17:49:17 -05:00
admin d728ea4c6a Merge pull request #231 from bucolucas/test-remove-comments
Removed a comment
2025-06-06 17:47:29 -05:00
admin b5dfbc992b Removed a comment 2025-06-06 17:45:01 -05:00
admin 5d475f9d08 updated test runs to only be on linux 2025-06-06 17:44:07 -05:00
admin 7386fdeeed Fixed github_tool.py, added RAG bot 2025-06-06 17:41:30 -05:00
admin 587fbfbf97 Merge pull request #230 from bucolucas/issue-229-token-limit
feat: Implement pre-inference token limit check
2025-06-06 14:30:36 -05:00
cyclop-bot d2955d605a docs: Add tiktoken to requirements.txt 2025-06-06 14:28:39 -05:00
cyclop-bot ff0770f9f4 feat: Implement pre-inference token limit check in openai_compatible_inference_bot.py 2025-06-06 14:25:15 -05:00
cyclop-bot 2c0c8dab18 feat: Add _SMALL_MODEL_MAX_INFERENCE_TOKENS and _LARGE_MODEL_MAX_INFERENCE_TOKENS to .env.example 2025-06-06 14:24:08 -05:00
cyclop-bot b2554de9bc Merge pull request 2025-06-05 18:18:01 -05:00
cyclop-bot bff5e8a02c feat: Add read_readme tool
Implements a new tool to read the README.md file from the repository root.
This tool will allow direct access to the project's documentation.

Addresses issue #226
2025-06-05 18:17:04 -05:00
admin dd9417c4a1 Merge branch 'main' of https://github.com/bucolucas/cyclop 2025-06-05 18:07:42 -05:00
admin 6526d599ae Updated prompts using Gemini Deep Research 2025-06-05 18:07:39 -05:00
admin d5512b6457 Merge pull request #225 from bucolucas/feat/add-large-model-arg
feat: Add --use-large-model argument to openai_compatible_inference_bot.py
2025-06-05 18:07:14 -05:00
admin 0b9e119361 removed trailing slash 2025-06-05 18:06:13 -05:00
cyclop-bot 61fe33e1c4 feat: Add --use-large-model argument to openai_compatible_inference_bot.py
This commit introduces a new command-line argument `--use-large-model` to `openai_compatible_inference_bot.py`. When this argument is provided, the bot will initialize and use the large model (as configured via environment variables) by default, instead of the small model. This allows for easier testing and deployment of the large model from the command line.

Fixes #224
2025-06-05 18:03:18 -05:00
admin 5d75b431dd Updated workflow and prompts 2025-06-04 13:16:04 -05:00
admin d9b77d4983 Added ability to read long-form chats broken up into multiple messages 2025-06-04 12:53:51 -05:00
admin fff17638eb Removed chain call to clear external copilot 2025-06-04 12:17:10 -05:00
admin 438a940660 Updated filtering 2025-06-03 17:36:26 -05:00
admin 67f83fd3c7 Added better instructions 2025-06-03 17:32:19 -05:00
admin c40e700184 Merge pull request #216 from bucolucas/feature/dual-ai-comms
feat: Introduce external copilot communication via API
2025-06-03 15:47:41 -05:00
cyclop-bot fb111ab018 feat: Configure call_external_copilot URL via environment variable 2025-06-03 15:43:14 -05:00
cyclop-bot 3d111dce7d feat: Flesh out api_helper.py with command handling 2025-06-03 15:43:05 -05:00
cyclop-bot 2396e82b1b feat: Add call_external_copilot tool and update StandaloneLLMTool 2025-06-03 15:38:25 -05:00
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