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 { beforeEach, describe, expect, it, vi } from 'vitest';
import * as vscode from 'vscode';
import { DefaultsOnlyConfigurationService } from '../../../../platform/configuration/common/defaultsOnlyConfigurationService';
import { IToolDeferralService } from '../../../../platform/networking/common/toolDeferralService';
import { CopilotChatAttr, GenAiAttr, NoopOTelService, resolveOTelConfig } from '../../../../platform/otel/common/index';
import type { IOTelService } from '../../../../platform/otel/common/otelService';
CapturingOTelService
CapturingToken
IRequestLogger
runWithCapturingToken storeCapturingTokenForCorrelation
NullExperimentationService
NullTelemetryService
TelemetryDestination TelemetryEventMeasurements TelemetryEventProperties
TestLogService
ExtendedLanguageModelChatInformation LanguageModelChatConfiguration
IBYOKStorageService
type message usage input_tokens cache_creation_input_tokens cache_read_input_tokens
type delta type text
type usage output_tokens
streamChunks AnthropicStreamChunk
vi
streamChunks AnthropicStreamChunk
baseURL
models
data
beta
messages
chunk MockAnthropicstreamChunks
chunk
_opts apiKey
MockAnthropic
vscodeLanguageModelResponsePart2
ProgressProgressItem
items ProgressItem
value ProgressItem
itemsvalue
events eventName destination TelemetryDestination properties TelemetryEventProperties measurements TelemetryEventMeasurements
override eventName destination TelemetryDestination properties TelemetryEventProperties measurements TelemetryEventMeasurements
events eventName destination properties measurements
overrides PartialIBYOKStorageService IBYOKStorageService
getAPIKey vi
storeAPIKey vi
deleteAPIKey vi
getStoredModelConfigs vi
saveModelConfig vi
removeModelConfig vi
overrides
IRequestLogger
didChangeEmitter
_serviceBrand
promptRendererTracing
captureInvocation _request CapturingToken
onDidChangeRequests didChangeEmitterevent
IRequestLogger
ExtendedLanguageModelChatInformationLanguageModelChatConfiguration
id
name
family
version
maxInputTokens
maxOutputTokens
capabilities toolCalling imageInput
configuration apiKey
options telemetryTurn otel IOTelService capturingCorrelationId TelemetryEventMeasurements
telemetryTurn otel capturingCorrelationId options
AnthropicLMProvider
MockAnthropic default MockAnthropicConstructor
MockAnthropicstreamChunks
type
message
usage
input_tokens
cache_read_input_tokens
type
delta type text
type
usage output_tokens
telemetry
provider
telemetry
otel env extensionVersion sessionId
_serviceBrand satisfies IToolDeferralService
messages vscodeLanguageModelChatMessage
vscodeLanguageModelChatMessageRoleUser
modelOptions Record
telemetryTurn
modelOptions_telemetryTurn telemetryTurn
capturingCorrelationId
modelOptions_capturingTokenCorrelationId capturingCorrelationId
tokenSource
provider
messages
requestInitiator
tools
toolMode vscodeLanguageModelChatToolModeAuto
ObjectmodelOptionslength modelOptions
tokenSourcetoken
tokenSource
telemetryeventsevent eventeventName measurements
correlationId chatSessionId
token chatSessionId
token correlationId
vi
measurements telemetryTurn
measurementsturn
measurements
Objectprototypemeasurements
otel
otel capturingCorrelationId
chatSpan otelspanss sname
chatSpanattributesGenAiAttr
chatSpanattributesCopilotChatAttr
chatSpanattributesCopilotChatAttr
otel
otel
chatSpan otelspanss sname
chatSpan
chatSpanattributesGenAiAttr
chatSpanattributesCopilotChatAttr
chatSpanattributesCopilotChatAttr