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

Patch impovements #578

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Patch impovements #578

wants to merge 5 commits into from

Conversation

JegernOUTT
Copy link
Member

No description provided.

- Rename `tool_patch` to `tool_apply_tickets` for clarity.
- Update functions and variables to use the new module name.
- Change ticket actions from `REWRITE_ONE_SYMBOL` to `REPLACE_SYMBOL`, `REWRITE_WHOLE_FILE` to `REPLACE_FILE`, `PARTIAL_EDIT` to `SECTION_EDIT`.
- Adjust related documentation, tests, and configuration for consistency with new naming conventions.
- Remove unused `locate_as` feature and refactor dependencies accordingly.
Simplified the ticket application workflow by processing one ticket at a time instead of batches. Changes include:
- Renamed tool from `apply_tickets` to `apply_ticket` to reflect single-ticket focus
- Updated API endpoint to accept single `ticket_id` instead of array
- Refactored ticket validation and processing to handle individual tickets
- Updated tool description and usage messages throughout codebase
- Renamed related modules and updated imports
@JegernOUTT JegernOUTT self-assigned this Jan 30, 2025
Implement `PatchAction::DeleteFile` to support file removal within the `tool_apply_edit.rs`, ensuring consistent handling of file operations.
@JegernOUTT JegernOUTT requested a review from olegklimov January 31, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant