File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -201,30 +201,9 @@ export const useAppConfig = createPersistStore(
201201 } ) ,
202202 {
203203 name : StoreKey . Config ,
204- version : 0.43 ,
204+ version : 0.44 ,
205205 migrate : ( persistedState , version ) => {
206- if ( version < 0.41 ) {
207- return {
208- ...DEFAULT_CONFIG ,
209- ...( persistedState as any ) ,
210- models : DEFAULT_MODELS as any as ModelRecord [ ] ,
211-
212- modelConfig : {
213- model : DEFAULT_MODELS [ 0 ] . name ,
214-
215- // Chat configs
216- temperature : 1.0 ,
217- top_p : 1 ,
218- max_tokens : 4000 ,
219- presence_penalty : 0 ,
220- frequency_penalty : 0 ,
221-
222- // Use recommended config to overwrite above parameters
223- ...DEFAULT_MODELS [ 0 ] . recommended_config ,
224- } ,
225- } ;
226- }
227- if ( version < 0.42 ) {
206+ if ( version < 0.44 ) {
228207 return {
229208 ...DEFAULT_CONFIG ,
230209 ...( persistedState as any ) ,
You can’t perform that action at this time.
0 commit comments