INNER CODE UNIT · TypeScript

backendApiKey

Beever-AI/beever-atlas · bot/src/index.ts:400

function backendApiKey(): string {
  const raw = process.env.BEEVER_API_KEYS || "";
  return raw.split(",").map((k) => k.trim()).find(Boolean) || "";
}

/** Extracted image description, shaped for the backend AskRequest.attachments field. */
export interface ImageAttachment {
  filename: string;
  extracted_text: string;
  mime_type: string;
}

/** Minimal shape of a chat-sdk attachment we read off an inbound Message. */
interface IncomingAttachment {
  type?: string;
  mimeType?: string;
  name?: string;
  url?: string;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…