feat: save instruction for new threads as a stable feature (#3798)
This commit is contained in:
parent
87e33497ce
commit
5d628a2748
@ -18,7 +18,7 @@ import {
|
|||||||
|
|
||||||
type NativeThemeProps = 'light' | 'dark'
|
type NativeThemeProps = 'light' | 'dark'
|
||||||
|
|
||||||
export const useLoadTheme = async () => {
|
export const useLoadTheme = () => {
|
||||||
const janDataFolderPath = useAtomValue(janDataFolderPathAtom)
|
const janDataFolderPath = useAtomValue(janDataFolderPathAtom)
|
||||||
const setThemeOptions = useSetAtom(themesOptionsAtom)
|
const setThemeOptions = useSetAtom(themesOptionsAtom)
|
||||||
const setThemePath = useSetAtom(janThemesPathAtom)
|
const setThemePath = useSetAtom(janThemesPathAtom)
|
||||||
|
|||||||
@ -74,7 +74,6 @@
|
|||||||
"eslint-plugin-import": "^2.28.1",
|
"eslint-plugin-import": "^2.28.1",
|
||||||
"eslint-plugin-prettier": "^5.0.1",
|
"eslint-plugin-prettier": "^5.0.1",
|
||||||
"eslint-plugin-react": "^7.34.0",
|
"eslint-plugin-react": "^7.34.0",
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
|
||||||
"jest-environment-jsdom": "^29.7.0",
|
"jest-environment-jsdom": "^29.7.0",
|
||||||
"jest-runner": "^29.7.0",
|
"jest-runner": "^29.7.0",
|
||||||
"prettier": "^3.0.3",
|
"prettier": "^3.0.3",
|
||||||
|
|||||||
@ -251,7 +251,7 @@ const ThreadRightPanel = () => {
|
|||||||
onChange={onAssistantInstructionChanged}
|
onChange={onAssistantInstructionChanged}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{experimentalFeature && <CopyOverInstruction />}
|
<CopyOverInstruction />
|
||||||
</div>
|
</div>
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
<TabsContent value="model">
|
<TabsContent value="model">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user