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

Interface ChatChoice

packages/baseai/types/providers.ts:250–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248 * @interface
249 */
250export interface ChatChoice {
251 index: number;
252 message: ProviderMessage;
253 finish_reason: string;
254 logprobs?: object | null;
255}
256
257/**
258 * The structure of a completion response for the 'chatComplete' function.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected