@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
12 lines (11 loc) • 415 B
TypeScript
import type { AiAgent } from '@base/api';
/**
* Generates an embed script URL for a chat widget
*
* @param agent - The agent object containing id and publicToken
* @param colorOverrides - Optional color overrides for the chat widget
* @returns The generated script tag as a string
*/
export declare const generateEmbedScriptUrl: (agent: AiAgent, colorOverrides?: {
"primary-color"?: string;
}) => string;