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 { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { IAuthenticationService } from '../../../../platform/authentication/common/authentication';
import { CopilotToken } from '../../../../platform/authentication/common/copilotToken';
import { IFetchMLOptions } from '../../../../platform/chat/common/chatMLFetcher';
import { IChatQuotaService } from '../../../../platform/chat/common/chatQuotaService';
import { ChatFetchResponseType, ChatLocation }
IInteractionService
ConfigKey
DefaultsOnlyConfigurationService
InMemoryConfigurationService
ICAPIClientService
MockAuthenticationService
MockCAPIClientService
ElectronFetchErrorChromiumDetails ILogService
FinishedCallback
IFetcherService IHeaders Response
IChatEndpoint
NullChatWebSocketManager
NoopOTelService
resolveOTelConfig
NullRequestLogger
NullExperimentationService
NullTelemetryService
ITelemetryService
TelemetryData
TestLogService
InstantiationServiceBuilder
CancellationToken CancellationTokenSource
Event
DisposableStore
IInstantiationService
IPowerService NullPowerService
ChatMLFetcherImpl
disposables DisposableStore
fetcher ChatMLFetcherImpl
mockFetcherService MockFetcherService
configurationService InMemoryConfigurationService
cancellationTokenSource CancellationTokenSource
endpoint IChatEndpoint
disposables
cancellationTokenSource disposables
mockFetcherService
configurationService
configurationServiceConfigKeyTeamInternalRetryServerErrorStatusCodes
configurationServiceConfigKeyTeamInternalRetryNetworkErrors
logService
telemetryService
experimentationService
endpoint
fetcher
mockFetcherService IFetcherService
telemetryService
logService
IAuthenticationService
ICAPIClientService
configurationService
experimentationService
IFetcherService mockFetcherService IFetcherService
ITelemetryService telemetryService
ICAPIClientService ICAPIClientService
IInstantiationService
env extensionVersion sessionId
fetcherconnectivityCheckDelays
disposables
IFetchMLOptions
debugName
messages role RawChatRoleUser content type RawChatCompletionContentPartKindText text
endpoint
location ChatLocationPanel
enableRetryOnError
requestOptions
finishedCb
mockFetcherService
mockFetcherService
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeSuccess
mockFetcherServicefetchCallCount
mockFetcherService
mockFetcherService
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeSuccess
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeNotFound
mockFetcherServicefetchCallCount
mockFetcherService
opts
optsenableRetryOnError
result fetcheropts cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeFailed
mockFetcherServicefetchCallCount
configurationServiceConfigKeyTeamInternalRetryServerErrorStatusCodes
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeFailed
mockFetcherServicefetchCallCount
configurationServiceConfigKeyTeamInternalRetryNetworkErrors
mockFetcherService
mockFetcherService
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeSuccess
configurationServiceConfigKeyTeamInternalRetryNetworkErrors
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeNetworkError
mockFetcherServicefetchCallCount
configurationServiceConfigKeyTeamInternalRetryServerErrorStatusCodes
mockFetcherService
mockFetcherService
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeSuccess
configurationServiceConfigKeyTeamInternalRetryServerErrorStatusCodes
mockFetcherService
mockFetcherService
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeSuccess
configurationServiceConfigKeyTeamInternalRetryServerErrorStatusCodes
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeFailed
mockFetcherServicefetchCallCount
configurationServiceConfigKeyTeamInternalRetryServerErrorStatusCodes
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeFailed
mockFetcherServicefetchCallCount
configurationServiceConfigKeyTeamInternalRetryServerErrorStatusCodes
mockFetcherService
mockFetcherService
mockFetcherService
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeFailed
configurationServiceConfigKeyTeamInternalRetryNetworkErrors
configurationServiceConfigKeyTeamInternalFallbackNodeFetchOnNetworkProcessCrash
mockFetcherService
mockFetcherService
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeSuccess
fetcherIds mockFetcherServicefetcherIdsUsed
fetcherIds
fetcherIds
configurationServiceConfigKeyTeamInternalRetryNetworkErrors
configurationServiceConfigKeyTeamInternalFallbackNodeFetchOnNetworkProcessCrash
mockFetcherService
mockFetcherService
mockFetcherService
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeNetworkError
fetcherIds mockFetcherServicefetcherIdsUsed
fetcherIds
configurationServiceConfigKeyTeamInternalRetryNetworkErrors
configurationServiceConfigKeyTeamInternalFallbackNodeFetchOnNetworkProcessCrash
mockFetcherService
mockFetcherService
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeSuccess
fetcherIds mockFetcherServicefetcherIdsUsed
fetcherIds
configurationServiceConfigKeyTeamInternalRetryNetworkErrors
configurationServiceConfigKeyTeamInternalFallbackNodeFetchOnNetworkProcessCrash
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeNetworkError
mockFetcherServicefetchCallCount
configurationServiceConfigKeyTeamInternalRetryNetworkErrors
configurationServiceConfigKeyTeamInternalFallbackNodeFetchOnNetworkProcessCrash
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeNetworkError
resulttype ChatFetchResponseTypeNetworkError
resultisNetworkProcessCrash
configurationServiceConfigKeyTeamInternalRetryNetworkErrors
mockFetcherService
result fetcher cancellationTokenSourcetoken
resulttypeChatFetchResponseTypeNetworkError
resulttype ChatFetchResponseTypeNetworkError
resultisNetworkProcessCrash
_responseQueue Response Error
_fetchCallCount
_fetchCallCount
response Response
_responseQueueresponse
error Error
_responseQueueerror
_fetcherIdsUsed
_fetcherIdsUsed
_url options Response
_fetchCallCount
_fetcherIdsUsedoptionsuseFetcher
next _responseQueue
next
next
next
next
AbortController
_err
_err
err
err err
err
err err err
err chromiumDetails ElectronFetchErrorChromiumDetails chromiumDetailsnetwork_process_crashed
_err
override _force CopilotToken
token
username
CopilotToken
IInteractionService
_serviceBrand
onInteractionStateChanged EventNone
IInteractionService
IChatEndpoint
url
urlOrRequestMetadata
model
modelMaxPromptTokens
maxOutputTokens
supportsToolCalls
supportsVision
supportsPrediction
showInModelPicker
isDefault
isFallback
policy
model
messages
stream
_telemetryService ITelemetryService _logService ILogService response Response _expectedNumChoices finishedCb FinishedCallback telemetryData TelemetryData _cancellationToken CancellationToken
text response
finishedCb
text text
SymbolasyncIterator
message role RawChatRoleAssistant content type RawChatCompletionContentPartKindText text
choiceIndex
requestId
headerRequestId responseheaders
gitHubRequestId responseheaders
completionId
created
serverExperiments
deploymentId
tokens
usage
model
blockFinished
finishReason
telemetryData telemetryData
IChatEndpoint
IChatQuotaService
_serviceBrand
IChatQuotaService
_serviceBrand
maxResponseTokens
temperature
topP
rejectionMessage
IPowerService
headers
name
headersname
Symboliterator Iterator
headers
content Response
streamContent
Response
streamContent
status statusText Response
Response
status
statusText
error message statusText
code Error code
error Error code
errorcode code
error
Error code chromiumDetails ElectronFetchErrorChromiumDetails
error
errorcode
errorchromiumDetails is_request_error network_process_crashed satisfies ElectronFetchErrorChromiumDetails
error