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
import type { Theme } from '@shared/core/app-settings';
export function getNextTheme(
current: Theme,
fallbackEffectiveTheme: NonNullable<Theme>
): NonNullable<Theme> {
const effectiveTheme = current ?? fallbackEffectiveTheme;
return effectiveTheme === 'emlight' ? 'emdark' : 'emlight';
}