The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
style(desktop): satisfy curly + import-sort lint on personality folding
PRATHAMESH75b07a3b46ed75
diff --git a/apps/desktop/src/app/settings/helpers.ts b/apps/desktop/src/app/settings/helpers.tsindex 643623613e5..850d4b7172a 100644--- a/apps/desktop/src/app/settings/helpers.ts+++ b/apps/desktop/src/app/settings/helpers.ts@@ -258,7 +258,9 @@ function personalityOptions(config: HermesConfigRecord): string[] {if (isPlainObject(block)) {for (const name of Object.keys(block)) {const folded = foldPersonalityName(name)- if (folded) customNames.push(folded)+ if (folded) {+ customNames.push(folded)+ }}}}diff --git a/apps/desktop/src/lib/chat-runtime.ts b/apps/desktop/src/lib/chat-runtime.tsindex 0b528ec3263..f56e684ebf1 100644--- a/apps/desktop/src/lib/chat-runtime.ts+++ b/apps/desktop/src/lib/chat-runtime.ts@@ -5,11 +5,10 @@ import type { QuickModelOption } from '@/app/chat/composer/types'import type { ClientSessionState } from '@/app/types'import { formatRefValue } from '@/components/assistant-ui/directive-text'import { type ChatMessage, type ChatMessagePart, chatMessageText, textPart } from '@/lib/chat-messages'+import { foldPersonalityName } from '@/lib/personalities'import type { ComposerAttachment } from '@/store/composer'import type { SessionInfo } from '@/types/hermes'-import { foldPersonalityName } from '@/lib/personalities'-export { BUILTIN_PERSONALITIES } from '@/lib/personalities'const THINKING_STATUS_PREFIX_RE =@@ -296,7 +295,9 @@ export function personalityNamesFromConfig(config: unknown): string[] {if (block && typeof block === 'object' && !Array.isArray(block)) {for (const name of Object.keys(block as Record<string, unknown>)) {const key = foldPersonalityName(name)- if (key) names.add(key)+ if (key) {+ names.add(key)+ }}}}