Commit 74a85e9
committed
refactor(settings): 移动配置文件读写及默认常量至settings模块
- 将默认模型和基础URL常量移至settings模块,统一管理
- 实现用户配置和项目配置的读取、写入接口
- 提供获取用户和项目配置路径的工具函数
- 清理ui/utils中的相关冗余代码,简化代码结构
- 统一类型引用,调整session、session-types、settings和common之间的导入路径
- 移除AsciiArt模块内容,清理无用代码1 parent 425baa3 commit 74a85e9
39 files changed
Lines changed: 346 additions & 559 deletions
File tree
- docs
- src
- common
- tests
- ui
- components
- MessageView
- SkillsDropdown
- utils
Whitespace-only changes.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
| 169 | + | |
171 | 170 | | |
172 | 171 | | |
173 | 172 | | |
| |||
0 commit comments