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

Interface ChatCompletionRequest

lib/api.ts:1024–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022}
1023
1024export interface ChatCompletionRequest {
1025 model: string;
1026 messages: ChatMessage[];
1027 temperature?: number;
1028 max_tokens?: number;
1029 top_p?: number;
1030 frequency_penalty?: number;
1031 presence_penalty?: number;
1032 stream?: boolean;
1033 apiType?: ApiType;
1034}
1035
1036// ==================== 图片生成相关 API ====================
1037

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected