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 { CancellationToken } from '../../../base/common/cancellation.js';
import { Event } from '../../../base/common/event.js';
import { createDecorator } from '../../instantiation/common/instantiation.js';
/**
* Serializable bridge contract between the node agent host (where the
* {@link IByokLmProxyService} OpenAI-compatible proxy runs) and the renderer
* (which owns the extension-provided BYOK language models via the LM API).
*
* These shapes are deliberately wire-friendly (plain JSON, no `VSBuffer`,
* `URI`, or `workbench/contrib/chat` types) so they survive both the local
* utility-process IPC channel and the remote JSON-RPC transport without a
* translation step. The node side converts OpenAI Responses wire payloads
* to/from these; the renderer side converts these to/from the VS Code
* LM API (`ILanguageModelsService`).
*/
export interface IByokLmTextPart {
readonly type: 'text';
readonly text: string;
}
export
type
mimeType ByokLmImageMimeType
data
IByokLmTextPart IByokLmImagePart
type
role
content IByokLmContentPart
type
id
summary
encryptedContent
metadata Record
type
callId
name
argumentsJson
type
callId
output
type
callId
name
input
type
callId
output
IByokLmMessageItem
IByokLmReasoningItem
IByokLmFunctionCallItem
IByokLmFunctionCallOutputItem
IByokLmCustomToolCallItem
IByokLmCustomToolCallOutputItem
type
name
description
parametersSchema object
type
name
description
IByokLmFunctionTool IByokLmCustomTool
vendor
modelId
instructions
input IByokLmInputItem
tools IByokLmTool
previousResponseId
reasoningEffort
modelOptions Record
type
content IByokLmTextPart
IByokLmOutputMessageItem
IByokLmReasoningItem
IByokLmFunctionCallItem
IByokLmCustomToolCallItem
output IByokLmOutputItem
responseId
usage
inputTokens
outputTokens
reasoningTokens
error
vendor
id
name
modelIdentifier
maxContextWindowTokens
supportsVision
supportedReasoningEfforts
defaultReasoningEffort
model IByokLmModelInfo
vendorPrefix
modelmodelIdentifiervendorPrefix
modelmodelIdentifiervendorPrefixlength
modelid
model IByokLmModelInfo
rootConfigValue enabled trace
enabled rootConfigValue
enabled
trace
IAgentHostByokLmHandler
_serviceBrand
onDidChangeModels Event
request IByokLmChatRequest token CancellationToken IByokLmChatResult
token CancellationToken IByokLmModelInfo
request IByokLmChatRequest IByokLmChatResult
onDidChangeModels EventIByokLmModelInfo