-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add: templates with new improved diff formatting - also remove extra whitespace for token efficiency * add: new parse codegen response logic * Merge branch 'main' into feature/new-diff-mode * main: fix: model check for diff mode * add: new apply-changes logic for new diff format * test: test the new diff mode implementation * fix: task-workflow and its corresponding test * wip: new diff mode * feat: new diff mode * remove extraenous import * improve apply-changes reliability * fix: make prompt provide unique search blocks * prompt engineering time * Merge branch 'main' into feature/new-diff-mode * main: chore(release): 1.13.6 [skip ci] * more prompt improvements * add new gpt-4o model version, adjust temperature * feat: use the diff mode specified in the model config * add diff mode and other new properties to model config * feat: add deepseek api support revamp model config * tests: update tests * docs: update Docs * docs: update Acknowledgments * fix: redo-task should also use the configured diff mode unless overwritten * fix: make flexible whitespace matching more robust * test: update redo-task tests * fix: template improvements * chore: template improvements * allow multiple identical changes per file again * more prompt tweaking * more prompt tweaks * try with system prompt * prompt tweaking * feat: a new approach * fix parser * remove extraneous console.log * prompt improvements * we'll get there * improve prompt templates * remove file.diff * add preprocess function * implement more reliable patching * refactor * test: adapt tests to new file structure and apply changes functionality * test: fix cross platform path resolution * missed one * improve change application * fix code modification application * fix code modification application * improving code application * add: integration for the application of changes * test: more assertions
- Loading branch information
Showing
47 changed files
with
2,876 additions
and
1,378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
ANTHROPIC_API_KEY= | ||
OPENAI_API_KEY= | ||
GROQ_API_KEY= | ||
DEEPSEEK_API_KEY= | ||
MODEL=claude-3-5-sonnet-20240620 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,16 +92,15 @@ | |
"prepare": "lefthook install" | ||
}, | ||
"dependencies": { | ||
"@ai-sdk/anthropic": "0.0.35", | ||
"@ai-sdk/openai": "0.0.40", | ||
"@ai-sdk/anthropic": "0.0.39", | ||
"@ai-sdk/openai": "0.0.44", | ||
"@anthropic-ai/sdk": "0.25.0", | ||
"@inquirer/prompts": "5.3.7", | ||
"@inquirer/prompts": "5.3.8", | ||
"@octokit/rest": "21.0.1", | ||
"@types/diff": "5.2.1", | ||
"ai": "3.3.0", | ||
"@types/uuid": "10.0.0", | ||
"ai": "3.3.4", | ||
"chalk": "5.3.0", | ||
"commander": "12.1.0", | ||
"diff": "5.2.0", | ||
"dotenv": "16.4.5", | ||
"fast-glob": "3.3.2", | ||
"fs-extra": "11.2.0", | ||
|
@@ -112,12 +111,13 @@ | |
"inquirer-file-tree-selection-prompt": "2.0.5", | ||
"isbinaryfile": "5.0.2", | ||
"micromatch": "4.0.7", | ||
"ollama-ai-provider": "0.11.0", | ||
"ollama-ai-provider": "0.12.0", | ||
"ora": "8.0.1", | ||
"piscina": "4.6.1", | ||
"simple-git": "3.25.0", | ||
"strip-comments": "2.0.1", | ||
"winston": "3.13.1" | ||
"uuid": "10.0.0", | ||
"winston": "3.14.1" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.8.3", | ||
|
@@ -135,7 +135,7 @@ | |
"semantic-release": "24.0.0", | ||
"tsup": "8.2.4", | ||
"typescript": "5.5.4", | ||
"vite": "5.3.5", | ||
"vite": "5.4.0", | ||
"vitest": "2.0.5" | ||
}, | ||
"packageManager": "[email protected]", | ||
|
Oops, something went wrong.