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

LLM and test refactor #623

Merged
merged 3 commits into from
Jun 4, 2024
Merged

LLM and test refactor #623

merged 3 commits into from
Jun 4, 2024

Conversation

clavedeluna
Copy link
Contributor

Overview

This PR moves LLM initialization into its own module and updates tests for easier api

Description

  • We want to be able to initialize an LLM client in testing, outside of codemodder context, so moving it out to its own module so it can be used
  • updated tests to create a DiffError class so we can differentiate (and catch) code errors versus codemodder diff output errors. This will help LLM codemods mostly.

Copy link

sonarcloud bot commented Jun 4, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@clavedeluna clavedeluna marked this pull request as ready for review June 4, 2024 13:25
@clavedeluna
Copy link
Contributor Author

@drdavella this will need to be released

@drdavella
Copy link
Member

@clavedeluna thanks! I'll create a release once this and #622 are merged.

@drdavella drdavella added this pull request to the merge queue Jun 4, 2024
Merged via the queue into main with commit 571e809 Jun 4, 2024
13 checks passed
@drdavella drdavella deleted the llm-refactor branch June 4, 2024 14:47
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.

3 participants