31 Commits

Author SHA1 Message Date
c7241ca093 feat: support ignore_language_framework via generated_code_ignore.toml
- [generated_code] table defines default glob patterns for code-generation tools
- merge generated_code globs into ignore logic
2025-06-25 23:39:14 +09:00
32b1fb91c3 chore: add comments 2025-05-29 13:17:31 +09:00
cd96f6b911 chore: organize comments 2025-05-29 13:03:21 +09:00
1955157e9a feat: add AWS Secrets Manager Integration 2025-05-29 12:42:05 +09:00
14971c4f5f Add support for documentation content exceeding token limits (#1670)
* - Add support for documentation content exceeding token limits via two phase operation:
1. Ask LLM to rank headings which are most likely to contain an answer to a user question
2. Provide the corresponding files for the LLM to search for an answer.

- Refactor of help_docs to make the code more readable
- For the purpose of getting canonical path: git providers to use default branch and not the PR's source branch.
- Refactor of token counting and making it clear on when an estimate factor will be used.

* Code review changes:
1. Correctly handle exception during retry_with_fallback_models (to allow fallback model to run in case of failure)
2. Better naming for default_branch in bitbucket cloud provider
2025-04-03 11:51:26 +03:00
5e7e353670 Added help_docs feature. 2025-03-20 23:48:01 +02:00
d16012a568 Add decoupled and non-decoupled modes for code suggestions 2025-03-11 16:46:53 +02:00
56250f5ea8 feat: improve patch extension with new file content comparison 2025-02-24 11:46:12 +02:00
5971a06d73 docs: improve Ollama and Hugging Face model configuration docs 2025-01-02 11:16:21 +02:00
a70fe27d94 prompts 2024-09-21 16:58:37 +03:00
b4f0ad948f Update Python code formatting, configuration loading, and local model additions
1. Code Formatting:
   - Standardized Python code formatting across multiple files to align with PEP 8 guidelines. This includes adjustments to whitespace, line breaks, and inline comments.

2. Configuration Loader Enhancements:
   - Enhanced the `get_settings` function in `config_loader.py` to provide more robust handling of settings retrieval. Added detailed documentation to improve code maintainability and clarity.

3. Model Addition in __init__.py:
   - Added a new model "ollama/llama3" with a token limit to the MAX_TOKENS dictionary in `__init__.py` to support new AI capabilities and configurations.
2024-06-03 23:58:31 +08:00
1ebc20b761 self_reflect 2024-05-12 13:49:28 +03:00
fff52e9e26 Add ask line feature 2024-02-15 14:25:22 +02:00
f3bdbfc103 Add /generate_labels function + fix issues 2023-10-26 23:28:33 +03:00
b27f57d05d Update settings, documentation 2023-10-06 21:03:36 +11:00
e387086890 Add support for ignoring files
Add ignore.toml, configuration for ignoring files
Add file_filter.py, for matching files against glob/regex patterns
Update relevant code to use file filter
+Tests
2023-10-06 01:43:35 +11:00
c3cbaaf09e Initial add docs 2023-09-27 16:48:17 +03:00
fb9335f424 extended improve 2023-08-21 18:17:34 +03:00
d7b77764c3 Support context aware settings (for each incoming request), support override of settings, refactor CLI to use pr_agent.py 2023-08-01 14:43:26 +03:00
e2d015a20c final 2023-07-30 12:27:32 +03:00
e3846a480e s 2023-07-26 09:21:31 +03:00
28d6adf62a Quick fix for github action 2023-07-25 16:41:29 +03:00
59a59ebf66 Quick fix for github action 2023-07-25 16:36:58 +03:00
02ecaa340f Local Git Provider Implementation 2023-07-24 12:49:57 +02:00
a71a12791b Move hard-coded language configurations to a configuration file.
Load this configuration file in the config loader.
2023-07-20 15:37:42 +02:00
f4de3d2899 pr_information_from_user_prompts 2023-07-16 19:36:20 +03:00
4f4989af8c full code suggestions
full code suggestions
2023-07-16 09:01:57 +03:00
dece20c984 PRDescription 2023-07-13 17:24:56 +03:00
75167c2700 add polling 2023-07-08 08:52:11 +03:00
6648c04799 Protect from notifications that may be handled twice by keeping a set of handled notification IDs 2023-07-06 17:46:43 +03:00
4b4d91dfe9 Initial commit - PR-Agent OSS release 2023-07-06 00:21:08 +03:00