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 { RequestType } from '@vscode/copilot-api';
import { CallTracker } from '../../../util/common/telemetryCorrelationId';
import { coalesce } from '../../../util/vs/base/common/arrays';
import { DeferredPromise, raceCancellationError, timeout } from '../../../util/vs/base/common/async';
import { CancellationToken } from '../../../util/vs/base/common/cancellation';
import { Disposable } from '../../../util/vs/base/common/lifecycle';
import { LinkedList } from '../../../util/vs/base/common/linkedList';
import isFalsyOrWhitespace
Range
IInstantiationService
Embedding EmbeddingType EmbeddingVector
IEnvService
getGithubMetadataHeaders
logExecTime
ILogService
Response
postRequest
IExperimentationService
ITelemetryService
getWorkspaceFileDisplayPath IWorkspaceService
FileChunkWithEmbedding FileChunkWithOptionalEmbedding
ChunkableContent ComputeBatchInfo EmbeddingsComputeQos IChunkingEndpointClient
stripChunkTextMetadata
attempt Response
_abuseLimit
_maxParallelChunksRequests
_maxAttempts
targetQuota
requestQueue
_numberInFlightRequests
_lastSendTime Date
_rateLimitTimeout
_latestRateLimitHint
timestamp
remaining
resetAt
_latestQuotaUsed
timestamp
quota
experimentationService IExperimentationService
_maxParallelChunksRequests experimentationService
task RequestTask token CancellationToken Response
deferred
token deferred
requestQueue task attempt deferred token
deferredp
_isPumping
_isPumping
_isPumping
requestQueue
_rateLimitTimeout
_rateLimitTimeout
_rateLimitTimeout
elapsedSinceLastSend Date _lastSendTime
elapsedSinceLastSend RequestRateLimiter_abuseLimit
RequestRateLimiter_abuseLimit elapsedSinceLastSend
_numberInFlightRequests _maxParallelChunksRequests
_latestRateLimitHint
currentTime Date
currentTime _latestRateLimitHintresetAt
_latestRateLimitHintremaining _numberInFlightRequests
resetTimeSpan _latestRateLimitHintresetAt currentTime
MathresetTimeSpan
_latestQuotaUsed _latestQuotaUsedquota targetQuota
currentTime Date
quotaDelta _latestQuotaUsedquota targetQuota
quotaDeltaTime currentTime _latestQuotaUsedtimestamp
decayTime
maxDelay
quotaAdjustment quotaDelta targetQuota
quotaAdjustment Math quotaDeltaTime decayTime
delay quotaAdjustment maxDelay
delay
Mathdelay maxDelay
e requestQueue
etokenisCancellationRequested
edeferred
_numberInFlightRequests
_lastSendTime Date
request eeattempt
requestresponse
response
etokenisCancellationRequested
edeferred
responseok
edeferredresponse
eattempt _maxAttempts
responsestatus responsestatus responsestatus
retryAfter_seconds response
retryAfter_seconds
_rateLimitTimeout retryAfter_seconds
requestQueue task etask attempt eattempt deferred edeferred token etoken
edeferredresponse
err
edeferrederr
_numberInFlightRequests
_isPumping
response Response
timestamp Date
rateLimitRemaining responseheaders
rateLimitReset responseheaders
rateLimitRemaining rateLimitReset
_latestRateLimitHint
timestamp timestamp
remaining rateLimitRemaining
resetAt rateLimitReset
totalQuotaUsed responseheaders
totalQuotaUsed
_latestQuotaUsed
_latestQuotaUsed
timestamp timestamp
quota totalQuotaUsed
_latestQuotaUsed
timestamp timestamp
quota totalQuotaUsed
e
e
response Response
retryAfterHeader responseheaders
retryAfterHeader
intValue retryAfterHeader
intValue
intValue
resetHeader responseheaders
resetHeader
intValue resetHeader
intValue
currentEpochSeconds MathDate
intValue currentEpochSeconds
responsestatus
chunks
hash
range start end
line_range start end
text
embedding model embedding EmbeddingVector
embedding_model
_serviceBrand
_requestLimiter RequestRateLimiter
_instantiationService IInstantiationService
_envService IEnvService
_logService ILogService
_telemetryService ITelemetryService
_workspaceService IWorkspaceService
_requestLimiter _instantiationServiceRequestRateLimiter
authToken embeddingType EmbeddingType content ChunkableContent batchInfo ComputeBatchInfo qos EmbeddingsComputeQos cache ReadonlyMap FileChunkWithEmbedding telemetryInfo CallTracker token CancellationToken FileChunkWithOptionalEmbedding
authToken embeddingType content batchInfo qos computeEmbeddings cache telemetryInfo token
authToken embeddingType EmbeddingType content ChunkableContent batchInfo ComputeBatchInfo qos EmbeddingsComputeQos cache ReadonlyMap FileChunkWithEmbedding telemetryInfo CallTracker token CancellationToken FileChunkWithEmbedding
result authToken embeddingType content batchInfo qos computeEmbeddings cache telemetryInfo token
result FileChunkWithEmbedding
authToken
embeddingType EmbeddingType
content ChunkableContent
batchInfo ComputeBatchInfo
options
qos EmbeddingsComputeQos
computeEmbeddings
cache ReadonlyMap FileChunkWithEmbedding
telemetryInfo CallTracker
token CancellationToken
FileChunkWithOptionalEmbedding
text content token
text
attempt
_logService _instantiationServicepostRequest
endpointOrUrl type RequestTypeChunks
secretKey authToken
intent
requestId
body
embed optionscomputeEmbeddings
qos optionsqos
content text
path _workspaceService contenturi
local_hashes cache cache
language_id contentgithubLanguageId
embedding_model embeddingTypeid
satisfies
embed
qos
content
path
local_hashes
language_id
embedding_model
additionalHeaders telemetryInfo _envService
cancelToken token
batchInforecomputedFileCount
batchInfosentContentTextLength textlength
response _requestLimitermakeRequest token token
responseok
_logService
_telemetryService
source telemetryInfo
responseStatus responsestatus
body ChunksEndpointResponse response
bodychunkslength
bodychunkschunk FileChunkWithOptionalEmbedding
range chunkline_rangestart chunkline_rangeend
cached cachechunkhash
cached
chunk
file contenturi
text cachedchunktext
rawText
range
isFullFile cachedchunkisFullFile
chunkHash chunkhash
embedding cachedembedding
chunktext
embedding Embedding
chunkembeddingembedding
returnedEmbeddingsType bodyembedding_model
returnedEmbeddingsTypeembeddingType
embedding type returnedEmbeddingsType value chunkembeddingembedding
optionscomputeEmbeddings embedding
chunk
file contenturi
text chunktext
rawText
range
isFullFile
chunkHash chunkhash
embedding embedding
e
_logServicee