MCPcopy
hub / github.com/PromtEngineer/localGPT / ChatRequest

Interface ChatRequest

src/lib/api.ts:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41export interface ChatRequest {
42 message: string;
43 model?: string;
44 conversation_history?: Array<{
45 role: 'user' | 'assistant';
46 content: string;
47 }>;
48}
49
50export interface ChatResponse {
51 response: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected