MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / CompletionResponse

Interface CompletionResponse

packages/baseai/types/providers.ts:237–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 * @interface
236 */
237export interface CompletionResponse extends CResponse {
238 choices: {
239 text: string;
240 index: number;
241 logprobs: null;
242 finish_reason: string;
243 }[];
244}
245
246/**
247 * The structure of a choice in a chat completion response.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected