UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

29 lines (26 loc) 583 B
import { TraceNameMap } from '@lobechat/types'; export const LOBE_CHAT_TRACE_HEADER = 'X-lobe-trace'; export const LOBE_CHAT_TRACE_ID = 'X-lobe-chat-trace-id'; export const LOBE_CHAT_OBSERVATION_ID = 'X-lobe-observation-id'; export interface TracePayload { /** * if user allow to trace */ enabled?: boolean; observationId?: string; /** * chat session: agentId or groupId */ sessionId?: string; tags?: string[]; /** * chat topicId */ topicId?: string; traceId?: string; traceName?: TraceNameMap; /** * user uuid */ userId?: string; }