Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
style(console): format the composer for the newer oxfmt
raullopez-sandbox3976f730a51f
diff --git a/console/apps/switch-console-desktop/src/renderer/features/chats/components/chat-composer.tsx b/console/apps/switch-console-desktop/src/renderer/features/chats/components/chat-composer.tsxindex 15fb8c14a..819415a5a 100644--- a/console/apps/switch-console-desktop/src/renderer/features/chats/components/chat-composer.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/chats/components/chat-composer.tsx@@ -334,17 +334,23 @@ export const ChatComposer = observer(function ChatComposer({});const query = typingCommand ?? (mentionable ? mentionQuery(draft, caret) : null);const suggestions: Suggestion[] = typingCommand- ? filterCommands(commands.data ?? [], typingCommand.query).map(- (command): Suggestion => ({ kind: 'command', id: `command:${command.name}`, command })- )+ ? filterCommands(commands.data ?? [], typingCommand.query).map((command): Suggestion => ({+ kind: 'command',+ id: `command:${command.name}`,+ command,+ })): query? [- ...filterMentionAgents(agents, query.query).map(- (agent): Suggestion => ({ kind: 'agent', id: agent.id, agent })- ),- ...filterMentionPeople(mentionPeople, query.query).map(- (person): Suggestion => ({ kind: 'person', id: `user:${person.userId}`, person })- ),+ ...filterMentionAgents(agents, query.query).map((agent): Suggestion => ({+ kind: 'agent',+ id: agent.id,+ agent,+ })),+ ...filterMentionPeople(mentionPeople, query.query).map((person): Suggestion => ({+ kind: 'person',+ id: `user:${person.userId}`,+ person,+ })),]: [];const suggesting = query !== null && query.start !== dismissedAt && suggestions.length > 0;