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 { Raw } from '@vscode/prompt-tsx';
import { describe, expect, it, vi } from 'vitest';
import * as vscode from 'vscode';
import type { IInstantiationService } from '../../../../util/vs/platform/instantiation/common/instantiation';
import { ChatFetchResponseType, ChatLocation } from '../../../chat/common/commonTypes';
import { NoopOTelService, resolveOTelConfig } from '../../../otel/common/index';
import { CustomDataPartMimeTypes } from
decodeStatefulMarker
convertToApiChatMessage ExtensionContributedChatEndpoint
capturedOptions vscodeLanguageModelChatRequestOptions
languageModel options capturedOptions options
endpoint
languageModel
env extensionVersion sessionId
result endpoint
debugName
messages
role RawChatRoleUser
content type RawChatCompletionContentPartKindText text
finishedCb
location ChatLocationPanel
requestOptions
telemetryProperties turnIndex
token
resulttypeChatFetchResponseTypeSuccess
capturedOptionsmodelOptions_telemetryTurn
capturedOptions vscodeLanguageModelChatRequestOptions
languageModel options capturedOptionsoptions
endpoint
languageModel
env extensionVersion sessionId
enableThinking
endpoint
debugName
messages
role RawChatRoleUser
content type RawChatCompletionContentPartKindText text
finishedCb
location ChatLocationAgent
requestOptions
modelCapabilities enableThinking enableThinking
token
capturedOptionsoptions optionsmodelOptions_enableThinking
capturedOptions vscodeLanguageModelChatRequestOptions
languageModel options capturedOptionsoptions
endpoint
languageModel
env extensionVersion sessionId
turnIndex
result endpoint
debugName
messages
role RawChatRoleUser
content type RawChatCompletionContentPartKindText text
finishedCb
location ChatLocationPanel
requestOptions
telemetryProperties turnIndex
token
resulttypeChatFetchResponseTypeSuccess
capturedOptionsoptions optionsmodelOptions_telemetryTurn
converted
summarizedAtRoundId
marker converted
marker
markerdatamarker
converted
summarizedAtRoundId
converted
convertedcontentpart part LanguageModelTextPart partvalue
converted
summarizedAtRoundId
ignoreStatefulMarker
converted
capturedMessages vscodeLanguageModelChatMessage
languageModel
messages capturedMessages messages
endpoint
languageModel
env extensionVersion sessionId
result endpoint
debugName
messages
ignoreStatefulMarker
summarizedAtRoundId
finishedCb
location ChatLocationAgent
requestOptions
token
resulttypeChatFetchResponseTypeSuccess
capturedMessages
capturedMessages
capturedMessagescontentpart part LanguageModelTextPart partvalue
converted
converteddatamarker
toolMessage RawChatMessage
role RawChatRoleTool
toolCallId
content
type RawChatCompletionContentPartKindText text
type RawChatCompletionContentPartKindCacheBreakpoint cacheType
withoutBreakpoints toolMessage emitCacheBreakpoints
withBreakpoints toolMessage emitCacheBreakpoints
omitted withoutBreakpoints
emitted withBreakpoints
omitted text cacheControl
emitted text cacheControl
vendor
capturedMessages vscodeLanguageModelChatMessage
languageModel messages capturedMessages messages vendor
endpoint
languageModel
env extensionVersion sessionId
endpoint
debugName
messages
role RawChatRoleTool
toolCallId
content
type RawChatCompletionContentPartKindText text
type RawChatCompletionContentPartKindCacheBreakpoint cacheType
finishedCb
location ChatLocationAgent
requestOptions
token
capturedMessages
anthropic ollama
anthropic text cacheControl
ollama text cacheControl
message vscodeLanguageModelChatMessage vscodeLanguageModelChatMessage2 text cacheControl
toolResult messagecontent vscodeLanguageModelToolResultPart2
text toolResultcontentpart part vscodeLanguageModelTextPart part LanguageModelTextPartvalue
cacheControl toolResultcontentpart part LanguageModelDataPart partmimeType CustomDataPartMimeTypesCacheControl
text cacheControl
marker summarizedAtRoundId RawChatMessage
role RawChatRoleAssistant
content
type RawChatCompletionContentPartKindOpaque
value
type CustomDataPartMimeTypesStatefulMarker
value modelId marker summarizedAtRoundId
type RawChatCompletionContentPartKindText text
message vscodeLanguageModelChatMessage vscodeLanguageModelChatMessage2 vscodeLanguageModelDataPart
messagecontentpart part LanguageModelDataPart partmimeType CustomDataPartMimeTypesStatefulMarker vscodeLanguageModelDataPart
options vscodeLanguageModelChatRequestOptions
captureMessages messages vscodeLanguageModelChatMessage
vendor
vscodeLanguageModelChat
id
name
vendor
family
version
maxInputTokens
capabilities
sendRequest vi messages options
captureMessagesmessages
options
stream
vscodeLanguageModelChat
IInstantiationService
createInstance vi IInstantiationService