Skip to content

Commit

Permalink
feat: Change storage way about ai store
Browse files Browse the repository at this point in the history
  • Loading branch information
FU-design committed Dec 3, 2024
1 parent 53eb797 commit b4acbbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bigtop-manager-ui/src/store/ai-assistant/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export const useAiChatStore = defineStore(
},
{
persist: {
storage: localStorage,
storage: sessionStorage,
paths: ['currThread']
}
}
Expand Down
2 changes: 1 addition & 1 deletion bigtop-manager-ui/src/store/llm-config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export const useLlmConfigStore = defineStore(
},
{
persist: {
storage: localStorage,
storage: sessionStorage,
paths: ['currAuthPlatform']
}
}
Expand Down

0 comments on commit b4acbbc

Please sign in to comment.