Skip to content

Commit 821be01

Browse files
authored
dont use diff based edits (#6897)
1 parent e40d52d commit 821be01

File tree

1 file changed

+2
-7
lines changed
  • frontend/src/lib/components/copilot/chat/script

1 file changed

+2
-7
lines changed

frontend/src/lib/components/copilot/chat/script/core.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,8 @@ const SCORE_THRESHOLD = 1000
3030
const DOCS_CONTEXT_PERCENTAGE = 1
3131
// percentage of the context window for types of npm packages
3232
const TYPES_CONTEXT_PERCENTAGE = 1
33-
// good providers for diff-based edit
34-
export const DIFF_BASED_EDIT_PROVIDERS: AIProvider[] = [
35-
'openai',
36-
'anthropic',
37-
'googleai',
38-
'azure_openai'
39-
]
33+
// TODO: Explore this again when we have better diff-based edit providers
34+
export const DIFF_BASED_EDIT_PROVIDERS: AIProvider[] = []
4035

4136
export function formatResourceTypes(
4237
allResourceTypes: ResourceType[],

0 commit comments

Comments
 (0)