fix(llm): rename settingsSlice to llmSlice for clarity (#4688)

This commit is contained in:
Chen Tao 2025-04-11 11:32:30 +08:00 committed by GitHub
parent 24d6d146c0
commit 0842b7e84d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -541,7 +541,7 @@ export const moveProvider = (providers: Provider[], id: string, position: number
return newProviders
}
const settingsSlice = createSlice({
const llmSlice = createSlice({
name: 'llm',
initialState: isLocalAi ? getIntegratedInitialState() : initialState,
reducers: {
@ -632,6 +632,6 @@ export const {
setLMStudioKeepAliveTime,
setGPUStackKeepAliveTime,
updateModel
} = settingsSlice.actions
} = llmSlice.actions
export default settingsSlice.reducer
export default llmSlice.reducer