Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asymmetric context #1114

Merged
merged 11 commits into from
Aug 11, 2024
Merged

Asymmetric context #1114

merged 11 commits into from
Aug 11, 2024

Commits on Aug 10, 2024

  1. Configuration menu
    Copy the full SHA
    61bdfd3 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Add tests for patch extension and update configuration for extra line…

    …s handling
    
    - Added unit tests in `test_extend_patch.py` and `test_pr_generate_extended_diff.py` to verify patch extension functionality with extra lines.
    - Updated `pr_processing.py` to include `patch_extra_lines_before` and `patch_extra_lines_after` settings.
    - Modified `configuration.toml` to adjust `patch_extra_lines_before` to 4 and `max_context_tokens` to 16000.
    - Enabled extra lines in `pr_code_suggestions.py`.
    - Added new model `claude-3-5-sonnet` to `__init__.py`.
    mrT23 committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    e238a88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5701816 View commit details
    Browse the repository at this point in the history
  3. Update test class name and adjust patch extra lines configuration

    - Renamed test class to `TestExtendedPatchMoreLines` in `test_extend_patch.py`
    - Imported `pr_generate_extended_diff` in `test_extend_patch.py`
    - Updated `patch_extra_lines_before` to 4 in `additional_configurations.md`
    mrT23 committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    2b2b851 View commit details
    Browse the repository at this point in the history
  4. set_claude_model

    mrT23 committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    7438190 View commit details
    Browse the repository at this point in the history
  5. Clarify comments for patch_extra_lines_before and patch_extra_lines_a…

    …fter in configuration.toml
    mrT23 committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    983233c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ed65493 View commit details
    Browse the repository at this point in the history
  7. comments

    mrT23 committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    9c3f080 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    df04a7e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e85b75f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    23aa2a9 View commit details
    Browse the repository at this point in the history