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 { CancellationToken } from 'vscode';
import { AbstractChatMLFetcher } from '../../src/extension/prompt/node/chatMLFetcher';
import { IChatMLFetcher, IFetchMLOptions } from '../../src/platform/chat/common/chatMLFetcher';
import { ChatFetchResponseType, ChatResponses } from '../../src/platform/chat/common/commonTypes';
import { IConversationOptions } from '../../src/platform/chat/common/conversationOptions';
import { IThrottledWorkerOptions } from '../../src/util/vs/base/common/async';
import { SyncDescriptor } from '../../src/util/vs/platform/instantiation/common/descriptors'
IInstantiationService
PausableThrottledWorker
Record limit type
_throttlers
_limits ThrottlingLimits
_rateLimitBackoff
_inFlightRequests
limits ThrottlingLimits
_limits limits
model Set
_inFlightRequestsmodel
_inFlightRequestsmodel
_inFlightRequestsmodel
model PausableThrottledWorker
_throttlersmodel
_limitsmodel
_limitsmodel limit type
limit _limitsmodeltype _limitsmodellimit _limitsmodellimit
options IThrottledWorkerOptions
maxBufferedWork
maxWorkChunkSize
waitThrottleDelayBetweenWorkUnits
throttleDelay Math limit
_throttlersmodel options tasks
task tasks
_throttlersmodel
model
_throttlersmodel
model
model
model
model
model baseDelay retryCount
model
retryCount
ongoingBackoff _rateLimitBackoffmodel
ongoingBackoff
ongoingBackoff
delay baseDelay retryCount
backoffPromise resolve
resolve delay
_rateLimitBackoffmodel backoffPromise
backoffPromise
_rateLimitBackoffmodel
model
ChatResponses
ChatResponses
result ChatResponses
continueRetrying
inFlightRequests model
inFlightRequestspromise
inFlightRequestssize
model
promise
retryCount
continueRetrying
result
resulttype ChatFetchResponseTypeRateLimited
resultretryAfter Math resultretryAfter
retryAfterMs resultretryAfter
shouldRetry model retryAfterMs retryCount
shouldRetry
retryCount
continueRetrying
continueRetrying
inFlightRequestspromise
promise
result
_fetcher IChatMLFetcher
fetcherDescriptor SyncDescriptorIChatMLFetcher
_modelTaskLaunchers ChatModelThrottlingTaskLaunchers
instantiationService IInstantiationService
options IConversationOptions
options
_fetcher instantiationServicefetcherDescriptor
override opts IFetchMLOptions token CancellationToken ChatResponses
taskLauncher _modelTaskLaunchersoptsendpointmodel
resolve reject
taskLauncher
result _modelTaskLaunchersoptsendpointmodel
_fetcheropts token
result
error
error