-
Notifications
You must be signed in to change notification settings - Fork 816
fix(aichat): dont use diff based edits on script mode #6897
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
Conversation
|
Claude finished @centdix's task —— View job PR Review: Fix AI Chat Script Mode - Disable Diff-Based EditsSummaryThis PR disables diff-based edit functionality for all AI providers in the script chat mode by emptying the Changes AnalysisFile: The change replaces a populated array of AI providers with an empty array and adds a TODO comment: // Before:
export const DIFF_BASED_EDIT_PROVIDERS: AIProvider[] = [
'openai',
'anthropic',
'googleai',
'azure_openai'
]
// After:
// TODO: Explore this again when we have better diff-based edit providers
export const DIFF_BASED_EDIT_PROVIDERS: AIProvider[] = []Code Quality AssessmentPositive Aspects✅ Clean and focused change - The modification is minimal and surgical, affecting only the configuration constant ✅ Backwards compatible - The empty array is handled gracefully by existing code through ✅ Self-documenting - The TODO comment explains the intention to revisit this feature ✅ No breaking changes - The system falls back to full-file replacement mode, which is still functional Concerns and Suggestions1. Missing Context in PR Description
|
Deploying windmill with
|
| Latest commit: |
405b89c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://59772e05.windmill.pages.dev |
| Branch Preview URL: | https://fg-nodiffedit.windmill.pages.dev |
| 'azure_openai' | ||
| ] | ||
| // TODO: Explore this again when we have better diff-based edit providers | ||
| export const DIFF_BASED_EDIT_PROVIDERS: AIProvider[] = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider making this TODO more actionable by specifying what "better diff-based edit providers" means. For example:
// TODO: Re-enable diff-based edits once we resolve:
// 1. String matching issues with whitespace variations
// 2. Token efficiency vs reliability trade-offs
// 3. User feedback on edit quality
// Track: [issue/discussion link]This will help future developers understand what improvements are needed before re-enabling this feature.
No description provided.