ai_refactor

AI Refactor is an experimental tool to see how AI can be applied to bulk refactor code.

MIT License

Downloads
4.1K
Stars
20

Bot releases are hidden (Show)

ai_refactor - Latest Release

Published by stevegeek 4 months ago

[0.6.0] - 2024-06-19

Added

  • Now supports Anthropic AI models. Eg pass -m claude-3-opus-20240229 to use the current Claude Opus model.

Changes

  • Default openAI model is now gpt-4-turbo

Fixed

  • example test run should use bundle exec to ensure the correct version of the gem is used.
ai_refactor - 0.5.4

Published by stevegeek 8 months ago

[0.5.4] - 2024-02-07

Added

  • Support for built-in command YML files to make it easy to add new refactors
  • Support for specifying context files from gems with context_file_paths_from_gems: key in command templates
  • Command to convert Minitest tests to Quickdraw tests

Changes

  • Default openAI model is now gpt-4-turbo-preview
ai_refactor - v0.5.0

Published by stevegeek about 1 year ago

Added

  • Support for new command files, which are YAML files that can be used to define options for a refactor. This makes it
    simpler to create configurations for refactors that will be used repeatedly. They can be committed to source control
    of your project and shared with other developers.
  • Support for configuring the run commands for the test runners
  • Adding real life examples
ai_refactor - v0.4.0

Published by stevegeek about 1 year ago

See changelog

ai_refactor - 0.3.1

Published by stevegeek over 1 year ago

Generic refactor mode

ai_refactor - 0.2.0

Published by stevegeek over 1 year ago

ai_refactor - v0.1.0

Published by stevegeek over 1 year ago

First experimental release