File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,8 @@ import { evictModelFromLRU } from "@/browser/hooks/useModelLRU";
3737import { QueuedMessage } from "./Messages/QueuedMessage" ;
3838import { CompactionWarning } from "./CompactionWarning" ;
3939import { shouldAutoCompact } from "@/browser/utils/compaction/autoCompactionCheck" ;
40- < < << << < HEAD
4140import { useProviderOptions } from "@/browser/hooks/useProviderOptions" ;
42- = === ===
43- import { use1MContext } from "@/browser/hooks/use1MContext" ;
44- import { useAutoCompactionSettings } from "@/browser/hooks/useAutoCompactionSettings" ;
45- > >>> >>> 52 d11bd1 ( 🤖 feat : add auto - compaction configuration UI )
41+ import { useAutoCompactionSettings } from "../hooks/useAutoCompactionSettings" ;
4642
4743interface AIViewProps {
4844 workspaceId : string ;
@@ -87,14 +83,10 @@ const AIViewInner: React.FC<AIViewProps> = ({
8783 const workspaceState = useWorkspaceState ( workspaceId ) ;
8884 const aggregator = useWorkspaceAggregator ( workspaceId ) ;
8985 const workspaceUsage = useWorkspaceUsage ( workspaceId ) ;
90- < < << << < HEAD
9186 const { options } = useProviderOptions ( ) ;
9287 const use1M = options . anthropic ?. use1MContext ?? false ;
93- = === ===
94- const [ use1M ] = use1MContext ( ) ;
9588 const { enabled : autoCompactionEnabled , threshold : autoCompactionThreshold } =
9689 useAutoCompactionSettings ( workspaceId ) ;
97- > >>> >>> 52 d11bd1 ( 🤖 feat : add auto - compaction configuration UI )
9890 const handledModelErrorsRef = useRef < Set < string > > ( new Set ( ) ) ;
9991
10092 useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments