ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* API Keys — живые замеры ключей: медианы первого токена, адаптивный порог и исключение
* медленного ключа из автовыбора. Здесь проверяется именно проводка в реестре ключей
* (чистая арифметика порогов покрыта в auraApiModel.test.ts).
* Запуск: ./scripts/test.sh (mocha, suite/test-глобалы).
*--------------------------------------------------------------------------------------------*/
import assert from 'assert';
import { newWriteableBufferStream, VSBuffer } from '../../../../../base/common/buffer.js';
import { NullLogService } from '../../../../../platform/log/common/log.js';
import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.js';
import { IStorageService } from '../../../../../platform/storage/common/storage.js';
import { ISecretStorageService } from '../../../../../platform/secrets/common/secrets.js';
import { IRequestService } from '../../../../../platform/request/common/request.js';
AuraApiKeysService
statusCode body
stream
streamVSBufferbody
stream
res statusCode headers stream
service AuraApiKeysService
name
config Record IHarness
secrets
storage
IStorageService
secretStorage
key secretskey
key value secretskey value
key secretskey
ISecretStorageService
requestService
options url type optionsurl
data id
model choices message content
IRequestService
configurationService
key configkey
IConfigurationService
service storage secretStorage requestService configurationService
service
name
key service name baseUrl model priority
servicekeyid
keyid
service add
slow
serviceslow
serviceslow
excluded serviceslow
serviceslow
returned serviceslow
assert
excluded excludedHighPing excludedexcludedHighPing reason excludedexcludedReason explains excludederror
medians excludedlatencySampleslength
returned excludedHighPing returnedexcludedHighPing reason returnedexcludedReason streak returnedslowStreak median returnedlatencyMs
excluded excludedHighPing reason explains
medians
returned excludedHighPing reason streak median
service add
first
best
servicebest
servicebest
servicefirst
slow servicefirstslowStreak
servicefirst
after servicefirst
assert
bestMedian servicebestlatencySamples
streakAfterSlow slow
streakAfterWithinThreshold afterslowStreak
excluded afterexcludedHighPing
bestMedian
streakAfterSlow
streakAfterWithinThreshold
excluded
service add
only
serviceonly
slow serviceonlyslowStreak
serviceonly
fast serviceonlyslowStreak
assert slow fast slow fast
service add
only
serviceonly
serviceonly
serviceonly
status serviceonly
assert
excluded statusexcludedHighPing
streakStaysOneShortOfLimit statusslowStreak
stillUsable servicek kenabled length
inAutoSelection serviceid only
excluded
streakStaysOneShortOfLimit
stillUsable
inAutoSelection
service add
key
servicekey
slow servicekeyslowStreak
servicekey
fast servicekeyslowStreak
assert slow fast slow fast
service add
key
servicekey
status servicekey
assert streak statusslowStreak latencyMs statuslatencyMs streak latencyMs
service add
key
servicekey
status servicekey
assert
latencyMs statuslatencyMs
samples statuslatencySamples
excluded statusexcludedHighPing
latencyMs
samples
excluded