🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { appEnv } from '@/envs/app';
/**
* Whether this deployment can relay an LLM call to a browser tab: it pushes to
* an Agent Gateway (URL + service token). Redis, which relayed calls run
* through, is a hard requirement of the app, so it is not checked here.
* Exposed to the browser (`llmRelayAvailable`) so a tab only gives up its own
* provider fallback where the server can actually relay.
*/
export const isLlmRelayDeploymentReady = (): boolean =>
!!(appEnv.AGENT_GATEWAY_INTERNAL_URL || appEnv.AGENT_GATEWAY_URL) &&
!!appEnv.AGENT_GATEWAY_SERVICE_TOKEN;