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 { outdent } from 'outdent';
import * as yaml from 'yaml';
import { IAuthenticationService } from '../../src/platform/authentication/common/authentication';
import * as fetcher from '../../src/platform/nesFetch/common/completionsFetchService';
import { ResponseStream } from '../../src/platform/nesFetch/common/responseStream';
import { CompletionsFetchService, FetchResponse, IFetchRequestParams } from '../../src/platform/nesFetch/node/completionsFetchServiceImpl';
import { getRequestId } from '../../src/platform/networking/common/fetch';
IFetcherService
IRequestLogger
LockMap
Result
AsyncIterableObject DeferredPromise IThrottledWorkerOptions ThrottledWorker
CachedFunction
CancellationToken
assertType
IJSONOutputPrinter
InterceptedRequest ISerialisedChatResponse OutputType
CachedResponseMetadata CachedTestInfo
emptyFetcherResponse ICacheableCompletionsResponse ICompletionsCache
computeSHA256
CacheMode
FetchRequestCollector
drainStdoutAndExit
hash
obj
url options fetcherCompletionsInternalFetchOptions
cacheSalt url
obj url body optionsbody
hash cacheSalt obj
obj
Locks
throttlers
url
delayMs
options IThrottledWorkerOptions
maxBufferedWork
maxWorkChunkSize
waitThrottleDelayBetweenWorkUnits
throttleDelay delayMs
options tasks
task tasks
requests Map request CacheableCompletionRequest hitsCache
nesCache ICompletionsCache
testInfo CachedTestInfo
cacheMode CacheMode
requestCollector FetchRequestCollector
isNoFetchModeEnabled
jsonOutputPrinter IJSONOutputPrinter
authService IAuthenticationService
fetcherService IFetcherService
requestLogger IRequestLogger
authService fetcherService requestLogger
override url secretKey params IFetchRequestParams requestId ct CancellationToken headerOverrides Record ResultResponseStream fetcherCompletionsCompletionsFetchFailure
interceptedRequest
requestCollectorinterceptedRequestp
r url secretKey params requestId ct headerOverrides
request paramsprompt
requestOptions
params
request
requestCachingInfo requestsrequestId
requestsrequestId
requestCachingInfo
requestHitsCache requestCachingInfohitsCache
cacheKey requestCachingInforequesthash
model url
r
startTime
requestTime startTime
rvalresponseresponse
elapsedTime Date startTime
cacheMetadata
requestDuration elapsedTime
requestTime
serializedResponse ISerialisedChatResponse
response
type
cacheKey
isCacheHit requestHitsCache
cacheMetadata
requestId
value responsevalchoicestext
type responseerrname
cacheKey
isCacheHit requestHitsCache
requestId
value responseerrstack responseerrstack responseerrmessage
interceptedRequest request requestOptions serializedResponse cacheKey model
response ISerialisedChatResponse
type rerrkind
cacheKey
isCacheHit requestHitsCache
requestId
value rerrkind
interceptedRequest request requestOptions response cacheKey model
r
override
url
options fetcherCompletionsInternalFetchOptions
ct CancellationToken
ResultFetchResponse fetcherCompletionsCompletionsFetchFailure
request url options
cacheMode CacheModeDisable
requestsoptionsrequestId request hitsCache
request url options ct
CachingCompletionsFetchServiceLocksrequesthash
cachedValue nesCacherequest testInfocacheSlot
cachedValue
requestsoptionsrequestId request hitsCache
ResultICacheableCompletionsResponsecachedValue
cacheMode CacheModeRequire
optionsbody
request
requestsoptionsrequestId request hitsCache
err
errmessage
optionsbody
err
request url options ct
request CacheableCompletionRequest
url
options fetcherCompletionsInternalFetchOptions
ct CancellationToken
ResultFetchResponse fetcherCompletionsCompletionsFetchFailure
throttler CachingCompletionsFetchServicethrottlersurl
startTime
fetchResult ResultFetchResponse fetcherCompletionsCompletionsFetchFailure
isNoFetchModeEnabled
Result
requestId
status
statusText
headers
body AsyncIterableObject
response
satisfies FetchResponse
resolve reject
throttler
startTime Date
r url options ct
r
e
e
fetchResult fetchResultvalstatus
fetchResult
fetchResult
response fetchResultval
stream responsebody
isCachingEnabled cacheMode CacheModeDisable isNoFetchModeEnabled
body
cachingStream emitter
chunk stream
body chunk
emitterchunk
isCachingEnabled
fetchingResponseTimeInMs Date startTime
cacheMetadata CachedResponseMetadata
testName testInfotestName
requestDuration fetchingResponseTimeInMs
requestTime
nesCache
request testInfocacheSlot ICacheableCompletionsResponseoptionsrequestId cacheMetadata responsestatus responsestatusText body
err
err
fetchResult
responsebody cachingStream
fetchResult
request CacheableCompletionRequest
message outdent
message
yamlrequest
reason outdent
jsonOutputPrinter type OutputTypeterminated reason
uri
lastSlash uri
lastSlash
uri
secondLastSlash uri lastSlash
urisecondLastSlash
obj
obj key value
value
split value
splitlength split value
value