Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

452 B
Raw Blame
import type { RemoteResourceHostTarget } from '@/device-link/remoteResources';

/** The group screen; server groups have no computer parameter; existing device routes remain compatible. */
export function botGroupRoute(host: RemoteResourceHostTarget, groupId: string) {
  return {
    pathname: '/companions/groups/[groupId]' as const,
    params: { groupId, ...(host.deviceId ? { deviceId: host.deviceId, deviceName: host.deviceName } : {}) },
  };
}