mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
refactor: update input tools configuration to hide unused tools and set initial collapsed state
This commit is contained in:
parent
9812338d11
commit
035c8f45f3
@ -14,13 +14,9 @@ export const DEFAULT_TOOL_ORDER: ToolOrder = {
|
||||
'knowledge_base',
|
||||
'mcp_tools',
|
||||
'generate_image',
|
||||
'mention_models',
|
||||
'quick_phrases',
|
||||
'clear_topic',
|
||||
'toggle_expand',
|
||||
'new_context'
|
||||
'mention_models'
|
||||
],
|
||||
hidden: []
|
||||
hidden: ['quick_phrases', 'clear_topic', 'toggle_expand', 'new_context']
|
||||
}
|
||||
|
||||
export type InputToolsState = {
|
||||
@ -30,7 +26,7 @@ export type InputToolsState = {
|
||||
|
||||
const initialState: InputToolsState = {
|
||||
toolOrder: DEFAULT_TOOL_ORDER,
|
||||
isCollapsed: false
|
||||
isCollapsed: true
|
||||
}
|
||||
|
||||
const inputToolsSlice = createSlice({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user