Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions frontend/src/lib/components/copilot/chat/script/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,8 @@ const SCORE_THRESHOLD = 1000
const DOCS_CONTEXT_PERCENTAGE = 1
// percentage of the context window for types of npm packages
const TYPES_CONTEXT_PERCENTAGE = 1
// good providers for diff-based edit
export const DIFF_BASED_EDIT_PROVIDERS: AIProvider[] = [
'openai',
'anthropic',
'googleai',
'azure_openai'
]
// TODO: Explore this again when we have better diff-based edit providers
export const DIFF_BASED_EDIT_PROVIDERS: AIProvider[] = []
Copy link
Contributor

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.


export function formatResourceTypes(
allResourceTypes: ResourceType[],
Expand Down