Changesets · Branches · Tags · Compare
| Changeset | 4077bfafafbda116f5fd15f5ace3c9a16e68a3fdf0067137056e3b6014bfde03 |
|---|---|
| Author | uinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-07-10 08:30 +05:30 |
| Committer | uinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-07-10 08:30 +05:30 |
| Parents | ae812d09811c |
1 file changed
modified core/config/sharedConfig.ts +0 −8
| @@ -4,10 +4,8 @@ | ||
| 4 | 4 | BrowserSerializedContinueConfig, |
| 5 | 5 | Config, |
| 6 | 6 | ContinueConfig, |
| 7 | - IContextProvider, | |
| 8 | 7 | SerializedContinueConfig, |
| 9 | 8 | } from ".."; |
| 10 | -import CurrentFileContextProvider from "../context/providers/CurrentFileContextProvider"; | |
| 11 | 9 | |
| 12 | 10 | export const sharedConfigSchema = z |
| 13 | 11 | .object({ |
| @@ -182,12 +180,6 @@ | ||
| 182 | 180 | if (sharedConfig.useCurrentFileAsContext !== undefined) { |
| 183 | 181 | configCopy.experimental.useCurrentFileAsContext = |
| 184 | 182 | sharedConfig.useCurrentFileAsContext; |
| 185 | - if (sharedConfig.useCurrentFileAsContext === true) { | |
| 186 | - configCopy.contextProviders = [ | |
| 187 | - ...((configCopy.contextProviders ?? []) as IContextProvider[]), | |
| 188 | - new CurrentFileContextProvider({}), | |
| 189 | - ]; | |
| 190 | - } | |
| 191 | 183 | } |
| 192 | 184 | if (sharedConfig.logEditingData !== undefined) { |
| 193 | 185 | configCopy.experimental.logEditingData = sharedConfig.logEditingData; |