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 { afterEach, beforeEach, describe, expect, it } from 'vitest';
import type { CancellationToken, ChatRequest } from 'vscode';
import { IChatHookService } from '../../../../platform/chat/common/chatHookService';
import { ChatFetchResponseType, ChatLocation, ChatResponse } from '../../../../platform/chat/common/commonTypes';
import { ConfigKey, IConfigurationService } from '../../../../platform/configuration/common/configurationService';
import { IChatModelInformation } from '../../../../platform/endpoint/common/endpointProvider'
ChatEndpoint
SearchAgentChatEndpoint
IChatEndpoint
CancellationTokenSource
DisposableStore
generateUuid
IInstantiationService
MockChatHookService
Conversation Turn
IBuildPromptContext
nullRenderPromptResult
ISearchSubagentToolCallingLoopOptions
SearchSubagentToolCallingLoop
isContextOverflowBadRequest
createExtensionUnitTestingServices
buildPromptCalls
makeChatRequestCalls
responseQueue ChatResponse
fakeEndpoint
modelMaxPromptTokens
fakeEndpoint
makeChatRequest2 ChatResponse
makeChatRequestCalls
next responseQueue
next
next
override buildPromptContext IBuildPromptContext
buildPromptCalls
_lastBuildPromptContext buildPromptContext
_didRetryAfterOverflow
_lastBuildPromptContext IBuildPromptContext
token CancellationToken ChatResponse
messages
finishedCb
requestOptions
userInitiatedRequest
turnId
modelCapabilities
iterationNumber
token
ChatRequest
prompt
command
references
location
location2
attempt
enableCommandDetection
isParticipantDetected
toolReferences
toolInvocationToken ChatRequest
model
tools
id
sessionId
ChatRequest
Conversation
message type
ChatResponse
type ChatFetchResponseTypeBadRequest
reason
reasonDetail
requestId
serverRequestId
ChatResponse
reason ChatResponse
type ChatFetchResponseTypeBadRequest
reason
reasonDetail
requestId
serverRequestId
ChatResponse
ChatResponse
type ChatFetchResponseTypeSuccess
value
requestId
serverRequestId
ChatResponse
type ChatFetchResponseTypeBadRequest
reason
reasonDetail
requestId
serverRequestId
ChatResponse
type ChatFetchResponseTypeLength
reason
requestId
serverRequestId
ChatResponse
type ChatFetchResponseTypeRateLimited
reason
requestId
serverRequestId
ChatResponse
disposables DisposableStore
instantiationService IInstantiationService
tokenSource CancellationTokenSource
disposables
serviceCollection disposables
serviceCollectionIChatHookService
accessor serviceCollection
instantiationService accessorIInstantiationService
tokenSource
disposablestokenSource
disposables
TestSearchSubagentToolCallingLoop
options ISearchSubagentToolCallingLoopOptions
conversation
toolCallLimit
request
location ChatLocationPanel
promptText
loop instantiationServiceTestSearchSubagentToolCallingLoop options
loop loopfakeEndpoint
loop
disposablesloop
loop
loop
loopresponseQueue
response looptokenSourcetoken
responsetypeChatFetchResponseTypeSuccess
loopmakeChatRequestCalls
loopbuildPromptCalls
loopdidRetryAfterOverflow
loop
loopresponseQueue
response looptokenSourcetoken
responsetypeChatFetchResponseTypeSuccess
loopmakeChatRequestCalls
loopbuildPromptCalls
loopdidRetryAfterOverflow
loop
loopresponseQueue
response looptokenSourcetoken
responsetypeChatFetchResponseTypeBadRequest
loopmakeChatRequestCalls
loopbuildPromptCalls
loopdidRetryAfterOverflow
loop
loopresponseQueue
response looptokenSourcetoken
responsetypeChatFetchResponseTypeBadRequest
loopmakeChatRequestCalls
loopbuildPromptCalls
loopdidRetryAfterOverflow
loop
loopresponseQueue
tokenSource
response looptokenSourcetoken
responsetypeChatFetchResponseTypeBadRequest
loopmakeChatRequestCalls
loopbuildPromptCalls
disposables DisposableStore
instantiationService IInstantiationService
disposables
serviceCollection disposables
serviceCollectionIChatHookService
accessor serviceCollection
instantiationService accessorIInstantiationService
disposables
TestSearchSubagentToolCallingLoop
request
request permissionLevel
options ISearchSubagentToolCallingLoopOptions
conversation
toolCallLimit
request
location ChatLocationPanel
promptText
loop instantiationServiceTestSearchSubagentToolCallingLoop options
disposablesloop
loop
loop
loop
loop
loop
disposables DisposableStore
instantiationService IInstantiationService
configurationService IConfigurationService
disposables
serviceCollection disposables
serviceCollectionIChatHookService
accessor serviceCollection
instantiationService accessorIInstantiationService
configurationService accessorIConfigurationService
disposables
id family IChatModelInformation
id
vendor
name id
version
model_picker_enabled
is_chat_default
is_chat_fallback
capabilities
type
family
tokenizer
supports
streaming
tool_calls
vision
prediction
limits
max_prompt_tokens
max_output_tokens
IChatModelInformation
id family ChatEndpoint
instantiationServiceChatEndpoint id family
allEndpoints IChatEndpoint mainEndpoint IChatEndpoint SearchSubagentToolCallingLoop
options ISearchSubagentToolCallingLoopOptions
conversation
toolCallLimit
request
location ChatLocationPanel
promptText
loop instantiationServiceSearchSubagentToolCallingLoop options
disposablesloop
loop endpointProvider
allEndpoints
mainEndpoint
loop
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
mainEndpoint model IChatEndpoint
loop
mainEndpoint
endpoint loop
endpointSearchAgentChatEndpoint
endpointmodel
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
mainEndpoint model IChatEndpoint
loop
mainEndpoint
endpoint loop
endpointSearchAgentChatEndpoint
endpointmodel
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
mainEndpoint model IChatEndpoint
loop
mainEndpoint
endpoint loop
endpointmainEndpoint
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
mainEndpoint model IChatEndpoint
loop
mainEndpoint
endpoint loop
endpointSearchAgentChatEndpoint
endpointmodel
disposables DisposableStore
instantiationService IInstantiationService
configurationService IConfigurationService
disposables
serviceCollection disposables
serviceCollectionIChatHookService
accessor serviceCollection
instantiationService accessorIInstantiationService
configurationService accessorIConfigurationService
disposables
mainEndpoint model IChatEndpoint
model family supportsToolCalls IChatEndpoint
model name family supportsToolCalls IChatEndpoint
getAllCalls
familyCalls
mainCalls
options
allEndpoints IChatEndpoint
familyEndpoint IChatEndpoint
familyThrows
loop SearchSubagentToolCallingLoop probe IEndpointProviderProbe
loopOptions ISearchSubagentToolCallingLoopOptions
conversation
toolCallLimit
request
location ChatLocationPanel
promptText
loop instantiationServiceSearchSubagentToolCallingLoop loopOptions
disposablesloop
probe IEndpointProviderProbe getAllCalls familyCalls mainCalls
loop endpointProvider
probegetAllCalls
optionsallEndpoints
arg
arg
probefamilyCallsarg
optionsfamilyThrows
optionsfamilyEndpoint
probemainCalls
mainEndpoint
loop probe
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
loop probe
allEndpoints
resolved loop
resolvedmodel
loop
loop resolved
probegetAllCalls
probefamilyCalls
probemainCalls
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
loop probe
allEndpoints
resolved loop
resolvedmodel
probegetAllCalls
probefamilyCalls
probemainCalls
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
loop probe
allEndpoints
familyEndpoint
resolved loop
resolvedmodel
probegetAllCalls
probefamilyCalls
probemainCalls
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
loop probe
allEndpoints
familyEndpoint
resolved loop
resolvedmodel
probefamilyCalls
probemainCalls
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
loop probe allEndpoints familyThrows
resolved loop
resolvedmodel
probegetAllCalls
probefamilyCalls
probemainCalls
configurationServiceConfigKeyAdvancedSearchSubagentUseAgenticProxy
configurationServiceConfigKeyAdvancedSearchSubagentModel
loop probe
allEndpoints
resolved loop
resolvedmodel
probegetAllCalls
probefamilyCalls
probemainCalls