feat: profile-aware routes, provider sync, channel settings improvements
- Add hermes-profile.ts for dynamic profile path resolution (all backend routes now read from active profile directory instead of hardcoded ~/.hermes/) - Add profile switcher dropdown in sidebar, reload page on switch - Sync PROVIDER_PRESETS with Hermes CLI (fix keys: kimi-coding→kimi-for-coding, kilocode→kilo, ai-gateway→vercel, opencode-zen→opencode; remove moonshot) - Sync PROVIDER_ENV_MAP with Hermes models.dev + overlays (correct env var names) - Add gateway restart after adding model provider - Don't write GLM_BASE_URL/KIMI_BASE_URL for zai/kimi (let Hermes auto-detect) - Write API keys to .env and credential_pool for all providers - Built-in providers skip custom_providers in config.yaml - Add debounce + per-field loading state for channel settings inputs - Run hermes setup --reset for profiles without config.yaml - Create empty .env for new profiles (not copied from default) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -51,6 +51,11 @@ export default {
|
||||
settings: 'Settings',
|
||||
connected: 'Connected',
|
||||
disconnected: 'Disconnected',
|
||||
updateTip: 'Run "hermes-web-ui update" in terminal to update',
|
||||
updateVersion: 'Upgrade to v{version}',
|
||||
updating: 'Updating...',
|
||||
updateSuccess: 'Update complete, please restart the server',
|
||||
updateFailed: 'Update failed',
|
||||
},
|
||||
|
||||
// Chat
|
||||
@@ -163,6 +168,9 @@ export default {
|
||||
userProfile: 'User Profile',
|
||||
noProfile: 'No profile yet.',
|
||||
profilePlaceholder: 'Write your profile...',
|
||||
soul: 'Soul',
|
||||
noSoul: 'No soul configuration yet.',
|
||||
soulPlaceholder: 'Write soul configuration...',
|
||||
},
|
||||
|
||||
// Models
|
||||
|
||||
@@ -41,7 +41,7 @@ export default {
|
||||
chat: '对话',
|
||||
jobs: '任务',
|
||||
models: '模型',
|
||||
profiles: '配置',
|
||||
profiles: '用户',
|
||||
skills: '技能',
|
||||
memory: '记忆',
|
||||
logs: '日志',
|
||||
@@ -51,6 +51,11 @@ export default {
|
||||
settings: '设置',
|
||||
connected: '已连接',
|
||||
disconnected: '未连接',
|
||||
updateTip: '在终端运行 "hermes-web-ui update" 即可更新',
|
||||
updateVersion: '升级版本 v{version}',
|
||||
updating: '正在更新...',
|
||||
updateSuccess: '更新完成,请重启服务',
|
||||
updateFailed: '更新失败',
|
||||
},
|
||||
|
||||
// 对话
|
||||
@@ -163,6 +168,9 @@ export default {
|
||||
userProfile: '用户画像',
|
||||
noProfile: '暂无画像。',
|
||||
profilePlaceholder: '输入用户画像...',
|
||||
soul: '灵魂',
|
||||
noSoul: '暂无灵魂配置。',
|
||||
soulPlaceholder: '输入灵魂配置...',
|
||||
},
|
||||
|
||||
// 模型
|
||||
|
||||
Reference in New Issue
Block a user