ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { CopilotAnnotation } from '../../completions-core/common/openai/copilotAnnotations';
/**
* Represents a completion response from the API. Note: both the streamed and non-streamed response objects share the same shape (unlike the chat endpoint).
*
* Based (updated 31.10.2024) on https://platform.openai.com/docs/api-reference/completions/object
* (! except `Choice#finish_reason` can be a null during streaming)
* (! omits `id`, `model`, and `created` for performance)
*/
export interface Completion {
/** The list of completion choices the model generated for the input prompt. */
choices: Completion.Choice[];
/** This fingerprint represents the backend configuration that the model runs with. */
system_fingerprint: string;
/** The object type, which is always "text_completion". */
object: string;
/** Usage statistics for the completion request. */
usage: Completion.Usage | undefined;
}
export namespace Completion {
index
finish_reason FinishReason
logprobs LogProbs
text
copilot_annotations key CopilotAnnotation
FinishReason
Stop
Length
ContentFilter
tokens
token_logprobs
text_offset
top_logprobs Record
completion_tokens
prompt_tokens
total_tokens
completion_tokens_details TokensDetails
prompt_tokens_details TokensDetails
audio_tokens
reasoning_tokens