clear symbols on new session
This commit is contained in:
parent
f9c1b37c80
commit
eb4030207f
1 changed files with 2 additions and 1 deletions
|
|
@ -12,8 +12,8 @@ import {
|
|||
import { BrowserSerializedContinueConfig } from "core/config/load";
|
||||
import { ConfigValidationError } from "core/config/validation";
|
||||
import { stripImages } from "core/llm/images";
|
||||
import { v4 as uuidv4, v4 } from "uuid";
|
||||
import { ApplyState } from "core/protocol/ideWebview";
|
||||
import { v4 as uuidv4, v4 } from "uuid";
|
||||
|
||||
// We need this to handle reorderings (e.g. a mid-array deletion) of the messages array.
|
||||
// The proper fix is adding a UUID to all chat messages, but this is the temp workaround.
|
||||
|
|
@ -295,6 +295,7 @@ export const stateSlice = createSlice({
|
|||
state.active = false;
|
||||
state.context.isGathering = false;
|
||||
state.isMultifileEdit = false;
|
||||
state.symbols = {};
|
||||
if (payload) {
|
||||
state.history = payload.history as any;
|
||||
state.title = payload.title;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue