fabro/packages/arc-api-client/src/models/completion-response.ts
Bryan Helmkamp 21f94f48de Add POST /completions endpoint with Anthropic-style SSE streaming
Adds a completions API endpoint that supports both streaming (SSE) and
non-streaming (JSON) modes, with structured output via JSON Schema.
Wires up the CLI `arc llm prompt` command to use the server when
`--mode server` is specified.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 18:06:58 -05:00

34 lines
746 B
TypeScript

/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { CompletionUsage } from './completion-usage';
export interface CompletionResponse {
'id': string;
'model': string;
/**
* Generated text.
*/
'content': string;
/**
* Why generation stopped (end_turn, max_tokens).
*/
'stop_reason': string;
'usage': CompletionUsage;
'output'?: any;
}