Skip to content

Commit

Permalink
chore: cleaned up old logs definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Feb 11, 2025
1 parent 5fa6da7 commit b40972b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lib/constants/GlobalValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,11 @@ export const enum Global {
// whether or not a KV cache has been loaded
// LocalSessionLoaded = 'localsessionloaded',

// Logs = 'logs', // moved to zustand state

// Management

CpuFeatures = 'cpufeatures',
Logs = 'logs',
AppMode = 'appmode',

// TODO move to zustaind state
Expand Down
4 changes: 0 additions & 4 deletions lib/utils/Startup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ export const startupApp = () => {
setDefaultCharacter()
setDefaultInstruct()

// Init Logs
// TOOD: Move this to zustand
// if (!mmkv.getString(Global.Logs)) mmkv.set(Global.Logs, JSON.stringify([]))

// Init step, appMode is never null
if (!mmkv.getString(Global.AppMode)) mmkv.set(Global.AppMode, AppMode.LOCAL)

Expand Down

0 comments on commit b40972b

Please sign in to comment.