MCPcopy Create free account
hub / github.com/AntiHub-Project/AntiHub / ChatMessage

Interface ChatMessage

lib/api.ts:1015–1022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1013export type ApiType = 'antigravity' | 'kiro';
1014
1015export interface ChatMessage {
1016 role: 'user' | 'assistant' | 'system';
1017 content: string | Array<{
1018 type: 'text' | 'image_url';
1019 text?: string;
1020 image_url?: { url: string };
1021 }>;
1022}
1023
1024export interface ChatCompletionRequest {
1025 model: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected