mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
- Added new cache schema keys for agent management and chat active view in `cacheSchemas.ts`. - Replaced deprecated `useRuntime` hook with `useCache` in various components to streamline state management. - Updated components such as `useActiveAgent`, `useActiveSession`, and `useAgentSessionInitializer` to utilize the new caching strategy. - Removed the `useRuntime` hook entirely from the codebase, enhancing performance and reducing complexity. - Ensured consistent access to cached data across the application. |
||
|---|---|---|
| .. | ||
| cacheSchemas.ts | ||
| cacheTypes.ts | ||
| cacheValueTypes.ts | ||