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 assert from 'assert';
import { Emitter } from '../../../../base/common/event.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import type { IByokLmBridgeConnection, IByokLmChatResult, IByokLmModelInfo } from '../../common/agentHostByokLm.js';
import { ByokLmBridgeRegistry } from '../../node/byokLmBridgeRegistry.js';
/**
* Pins the behaviour of {@link ByokLmBridgeRegistry}: it caches the model
* snapshots pushed by each connection, surfaces the models of a single *serving*
* connection (preferring one that actually has models), routes inference there,
* excludes connections that never push, and notifies listeners on
* model/connection changes.
*/
suite('ByokLmBridgeRegistry', (
store
connection IByokLmBridgeConnection models IByokLmModelInfo
emitter store
connection
chat IByokLmChatResult output
onDidChangeModels emitterevent
models emittermodels
registry
serving
nonServing
regServing registry servingconnection
regNonServing registry nonServingconnection
serving vendor id vendor id
assert
models registry
serving registry servingconnection
models vendor id vendor id
serving
regServing
regNonServing
registry
only
reg registry onlyconnection
only
assert
models registry
serving registry onlyconnection
models serving
reg
registry
empty
withModels
regEmpty registry emptyconnection
regWithModels registry withModelsconnection
empty
withModels vendor id
assert
models registry
serving registry withModelsconnection
models vendor id
serving
regEmpty
regWithModels
registry
changes
storeregistry changes
conn
reg registry connconnection
conn vendor id
assertregistrylength
changesBeforeDispose changes
reg
assert
models registry
serving registry
firedOnDispose changes changesBeforeDispose
models
serving
firedOnDispose
registry
conn
reg registry connconnection
conn
assertregistrylength
changed
storeregistry changed
conn vendor id
assert changed models registry
changed
models vendor id
reg
registry
conn
reg storeregistry connconnection
conn vendor id modelIdentifier
changes
storeregistry changes
conn vendor id modelIdentifier
assert changes models registry
changes
models vendor id modelIdentifier
reg
registry
conn
reg storeregistry connconnection
conn
vendor
id
supportedReasoningEfforts
defaultReasoningEffort
changes
storeregistry changes
conn
vendor
id
supportedReasoningEfforts
defaultReasoningEffort
conn
vendor
id
supportedReasoningEfforts
defaultReasoningEffort
conn
vendor
id
supportedReasoningEfforts
defaultReasoningEffort
assert
changes
models registry
changes
models
vendor
id
supportedReasoningEfforts
defaultReasoningEffort
reg