Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.4 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * Document Cognition Service
 * OpenAPI spec version: 1.0.0
 */
import type { HttpSendChatMessageRequestAdditionalInstructions } from './httpSendChatMessageRequestAdditionalInstructions';
import type { HttpSendChatMessageRequestAttachments } from './httpSendChatMessageRequestAttachments';
import type { HttpSendChatMessageRequestChatId } from './httpSendChatMessageRequestChatId';
import type { ModelSpeed } from './modelSpeed';
import type { ToolSet } from './toolSet';

/**
 * HTTP request payload for sending a chat message.
Unlike the WebSocket payload, this does not include stream_id as it's generated server-side.
 */
export interface HttpSendChatMessageRequest {
  /** Additional system instructions appended to the base system prompt */
  additional_instructions?: HttpSendChatMessageRequestAdditionalInstructions;
  /** Attachments for the message */
  attachments?: HttpSendChatMessageRequestAttachments;
  /** Id of the chat the message belongs to (optional - if not provided, a new chat is created) */
  chat_id?: HttpSendChatMessageRequestChatId;
  /** The content of the message */
  content: string;
  /** The model to respond with (`provider/model` id) */
  model: string;
  /** Inference speed, validated against the selected model. Defaults to standard. */
  speed?: ModelSpeed;
  /** Which toolset to use. Defaults to `all` */
  toolset?: ToolSet;
}