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 { LanguageModelToolInformation } from 'vscode';
import { Embedding, EmbeddingType, IEmbeddingsComputer, isValidEmbedding, rankEmbeddings } from '../../../../platform/embeddings/common/embeddingsComputer';
import { EmbeddingsGrouper, Node } from '../../../../platform/embeddings/common/embeddingsGrouper';
import { ILogService } from '../../../../platform/log/common/logService';
import { IGithubAvailableEmbeddingTypesService } from '../../../../platform/workspaceChunkSearch/common/githubAvailableEmbeddingTypes';
import { createServiceIdentifier } from '../../../../util/common/services';
import TelemetryCorrelationId
CancellationToken
Lazy
StopWatch
isDefined
IInstantiationService
PreComputedToolEmbeddingsCache
ToolEmbeddingLocalCache
tool LanguageModelToolInformation Embedding
tool LanguageModelToolInformation embedding Embedding
embeddingType EmbeddingType
caches IToolEmbeddingsCache
_serviceBrand
queryEmbedding Embedding availableTools LanguageModelToolInformation limit token CancellationToken
tools LanguageModelToolInformation limit token CancellationToken LanguageModelToolInformation
query availableTools LanguageModelToolInformation limit token CancellationToken
IToolEmbeddingsComputer
_serviceBrand
embeddingsStore
_initialized
_caches IToolEmbeddingsCache
_embeddingType EmbeddingType
_embeddingsComputer IEmbeddingsComputer
_logService ILogService
_availableEmbeddingTypesService IGithubAvailableEmbeddingTypesService
instantiationService IInstantiationService
caches embeddingType instantiationService
_caches caches
_embeddingType embeddingType
instantiationService IInstantiationService IInit
precomputed instantiationServicePreComputedToolEmbeddingsCache
embeddingType precomputedembeddingType
embeddingType
caches
precomputed
instantiationServiceToolEmbeddingLocalCache embeddingType
_availableEmbeddingTypesService
queryEmbedding Embedding availableToolNames LanguageModelToolInformation count token CancellationToken
_initializedvalue
tokenisCancellationRequested
availableEmbeddings availableToolNames token
availableEmbeddingslength
rankedEmbeddings queryEmbedding availableEmbeddings count
matched rankedEmbeddingsx xvalue
_logService
matched
query availableTools LanguageModelToolInformation limit token CancellationToken
_initializedvalue
query tokenisCancellationRequested
queryEmbedding _embeddingsComputer_embeddingType query token
queryEmbedding queryEmbeddingvalueslength
queryEmbeddingvalues availableTools limit token
queryEmbedding Embedding availableEmbeddings ReadonlyArray Embedding count
queryEmbedding availableEmbeddings count
_cachesc c
missingTools LanguageModelToolInformation token CancellationToken
tokenisCancellationRequested missingToolslength
computedEmbeddings missingTools tokene
_logService e
tool missingTools
promise computedEmbeddings c
found cname name toolname
found
embeddingsStoretoolname
found
_logService
embeddingsStoretoolname
cache _caches
cachetool found
found
embeddingsStoretoolname promise
tools LanguageModelToolInformation token CancellationToken Embedding
tokenisCancellationRequested
toolNames toolst tname tdescription
start
embeddings _embeddingsComputer_embeddingType toolNames token
_logService
embeddingsvalueslength embeddingsvalueslength toolNameslength
toolNamesname index toolsindexname embeddingsvaluesindex
tools LanguageModelToolInformation token CancellationToken ReadonlyArray Embedding
fromCaches toolst
cache _caches
embedding cachet
embedding
tname embedding Embedding
isDefined
missingTools toolst embeddingsStoretname fromCachestname
missingTools token
result Embedding
name tools
tokenisCancellationRequested
result
cached fromCachesname
cached
resultname cached
embedding embeddingsStorename
embedding
resultname embedding
result
tools LanguageModelToolInformation limit token CancellationToken LanguageModelToolInformation
_initializedvalue
tokenisCancellationRequested toolslength
toolEmbeddings tools token
toolEmbeddingslength
_logService
nodes NodeLanguageModelToolInformation
toolMap toolstool toolname tool
toolName embedding toolEmbeddings
tool toolMaptoolName
tool
nodes
value tool
embedding
nodeslength
_logService
grouper
groupernodes
targetClusters Mathlimit Mathnodeslength
targetClusters nodeslength
_logService
toolstool tool
tuneResult groupertargetClusters
_logService
groupertuneResultpercentile
clusters grouper
groups LanguageModelToolInformation
singletons LanguageModelToolInformation
cluster clusters
toolsInCluster clusternodesnode nodevalue
toolsInClusterlength
groupstoolsInCluster
singletonstoolsInCluster
totalGroupsAndSingletons groupslength singletonslength
totalGroupsAndSingletons limit
singleton singletons
groupssingleton
remainingSlots limit groupslength
i i Mathsingletonslength remainingSlots i
groupssingletonsi
singletonslength remainingSlots
_logService
_logService
groups