feat: redact file contents from chat and put latest files into system prompt (#904)

This commit is contained in:
Anirban Kar
2024-12-29 15:36:31 +05:30
committed by GitHub
parent aecd9b1b40
commit 3a36a4469a
6 changed files with 50 additions and 9 deletions

View File

@@ -39,6 +39,9 @@ PROVIDER_LIST.forEach((provider) => {
},
};
});
//TODO: need to create one single map for all these flags
export const providersStore = map<ProviderSetting>(initialProviderSettings);
export const isDebugMode = atom(false);
@@ -50,3 +53,5 @@ export const isLocalModelsEnabled = atom(true);
export const promptStore = atom<string>('default');
export const latestBranchStore = atom(false);
export const enableContextOptimizationStore = atom(false);