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 type { ChatRequest, ChatResponseStream } from 'vscode';
import { createServiceIdentifier } from '../../../util/common/services';
import { TaskSingler } from '../../../util/common/taskSingler';
import { Emitter, type Event } from '../../../util/vs/base/common/event';
import { Disposable, type IDisposable } from '../../../util/vs/base/common/lifecycle';
import { IInstantiationService } from '../../../util/vs/platform/instantiation/common/instantiation';
import ChatLocation ChatResponseAutoModeResolutionPart
IAuthenticationService
ConfigKey IConfigurationService
ILogService
isAbortError
IChatEndpoint
IRequestLogger
IExperimentationService
ITelemetryService
autoModeTiers defaultAutoModeTier inlineChatAutoModeTier isSelectableAutoModeTier normalizeAutoModeTier
ICAPIClientService
IChatModelCapabilities IChatModelInformation
AutoChatEndpoint
AutoV2Error AutoV2Fetcher
CopilotChatEndpoint
endpoint AutoChatEndpoint
sessionToken
expiresAt
tier AutoModeTier
needsReEval
inlineChatLocations ReadonlySetChatLocation ChatLocationEditor ChatLocationTerminal ChatLocationNotebook
prompt
id
command
location ChatLocation
sessionId
sessionResource
references value
modelConfiguration key
IAutomodeService
discountRange low high
requestId
endpoint IChatEndpoint
request ChatRequest
stream ChatResponseStream
automodeService IAutomodeService
IDisposable
automodeServicee
erequestId requestid
stream eendpoint id eendpointmodel name eendpointname
_serviceBrand
chatRequest IAutoModeRoutingRequest knownEndpoints IChatEndpoint IChatEndpoint
knownEndpoints IChatEndpoint IChatEndpoint
knownEndpoints IChatEndpoint AutoModePickerMetadata
onDidChangeAutoModeTierSupport Event
onDidRoute EventIAutoModeRoutingState
chatRequest IAutoModeRoutingRequest
_serviceBrand
_cache Map AutoModeCacheEntry
_routingSingler
_authGeneration
_autoV2Fetcher AutoV2Fetcher
_onDidChangeAutoModeTierSupport
onDidChangeAutoModeTierSupport _onDidChangeAutoModeTierSupportevent
_onDidRoute
onDidRoute _onDidRouteevent
_tierSupportAnnounced
_capiClientService ICAPIClientService
_authService IAuthenticationService
_logService ILogService
_instantiationService IInstantiationService
_expService IExperimentationService
_telemetryService ITelemetryService
_requestLogger IRequestLogger
_configurationService IConfigurationService
_tierSupportAnnounced
_configurationService
_authService
_cache
_routingSingler
_authGeneration
_serviceBrand
_autoV2Fetcher _capiClientService _authService _logService _telemetryService _requestLogger
override
_cache
knownEndpoints IChatEndpoint IChatEndpoint
knownEndpointslength
base knownEndpointse eshowInModelPicker knownEndpoints
_instantiationServiceAutoChatEndpoint base knownEndpointsdiscountRange
knownEndpoints IChatEndpoint AutoModePickerMetadata
discountRange knownEndpoints
chatRequest IAutoModeRoutingRequest
conversationId chatRequestsessionResource chatRequestsessionId
entry _cacheconversationId
entry
entryneedsReEval
_logService
chatRequest IAutoModeRoutingRequest knownEndpoints IChatEndpoint IChatEndpoint
knownEndpointslength
conversationId chatRequestsessionResource chatRequestsessionId
tier chatRequest
entry conversationId _cacheconversationId
entry entryneedsReEval entry tier chatRequest
entryendpoint
prompt chatRequestprompt chatRequestcommand
prompt
entry entry tier chatRequest
entryendpoint
conversationId
prompt tier chatRequest knownEndpoints conversationId entry
_routingSingler
prompt tier chatRequest knownEndpoints conversationId entry
prompt
tier AutoModeTier
chatRequest IAutoModeRoutingRequest
knownEndpoints IChatEndpoint
conversationId
entry AutoModeCacheEntry
IChatEndpoint
_onDidRoute requestId chatRequestid endpoint
endpoint prompt tier chatRequest knownEndpoints conversationId entry
_onDidRoute requestId chatRequestid endpoint
endpoint
prompt
tier AutoModeTier
chatRequest IAutoModeRoutingRequest
knownEndpoints IChatEndpoint
conversationId
entry AutoModeCacheEntry
IChatEndpoint
authGeneration _authGeneration
result AutoV2Response
result _autoV2Fetcherprompt
hasImage chatRequest
conversationId
vscodeRequestId chatRequestid
tier
e
reason e
_logService e Errormessage
reason
entry authGeneration _authGeneration entry tier chatRequest
entryendpoint
e
authGeneration _authGeneration
selectedModel knownEndpointse emodel resultselected_modelid
selectedModel
selectedModel resultselected_model
selectedModel
_logService
chatRequest selectedModelsupportsVision
endpoint entryendpoint entrysessionToken resultsession_token entryendpointmodel selectedModelmodel entrytier tier
entryendpoint
_instantiationServiceAutoChatEndpoint selectedModel resultsession_token resultdiscounted_costsselectedModelmodel selectedModelautoDiscount knownEndpoints
conversationId
endpoint
_cacheconversationId
_cacheconversationId
endpoint
sessionToken resultsession_token
expiresAt resultexpires_at
tier
needsReEval
endpoint
_configurationServiceConfigKeyAdvancedAutoModeTiersEnabled _expService
supported
supported _tierSupportAnnounced
_tierSupportAnnounced supported
_onDidChangeAutoModeTierSupport
chatRequest IAutoModeRoutingRequest AutoModeTier
override _configurationServiceConfigKeyAdvancedAutoModeTierOverride
override
normalized override
autoModeTiers normalized
normalized AutoModeTier
_logService
configured chatRequestmodelConfiguration
configured configured defaultAutoModeTier
configured
chatRequestlocation inlineChatLocationschatRequestlocation
inlineChatAutoModeTier
defaultAutoModeTier
model AutoV2SelectedModel IChatEndpoint
capabilities modelcapabilities
capabilities capabilitiestype capabilitiestype capabilitiesfamily capabilitiestokenizer
chatCapabilities IChatModelCapabilities
capabilities IChatModelCapabilities
type
supports capabilities IChatModelCapabilitiessupports streaming
modelInformation IChatModelInformation
model
id modelid
name modelname modelid
version modelversion
vendor modelvendor
is_chat_default
is_chat_fallback
model_picker_enabled modelmodel_picker_enabled
capabilities chatCapabilities
_instantiationServiceCopilotChatEndpoint modelInformation
entry AutoModeCacheEntry
entryexpiresAt Date
entry AutoModeCacheEntry tier AutoModeTier chatRequest IAutoModeRoutingRequest
entrytier tier
entry
chatRequest entryendpointsupportsVision
conversationId _cache
_cachesize AutomodeService
_cacheconversationId
e
e
e
eerrorCode
reason
_telemetryService reason
knownEndpoints IChatEndpoint low high
low
high
hasValues
endpoint knownEndpoints
discount endpointautoDiscount
discount
hasValues
discount low
low discount
discount high
high discount
hasValues low high low high
chatRequest IAutoModeRoutingRequest
chatRequest chatRequestreferences
chatRequestreferencesref
value refvalue
value
value
value
valuemimeType
valuemimeType