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, Event } from '../../../../base/common/event.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../base/test/common/utils.js';
import { NullLogService } from '../../../log/common/log.js';
import type { IByokLmBridgeConnection, IByokLmChatRequest, IByokLmChatResult, IByokLmModelInfo } from '../../common/agentHostByokLm.js';
import { ByokLmBridgeRegistry } from '../../node/byokLmBridgeRegistry.js';
import { ByokLmProxyService, type IByokLmProxyHandle
store
sessionId
chat IByokLmBridgeConnection models IByokLmModelInfo IByokLmBridgeConnection
emitter store
emittermodels
chat onDidChangeModels emitterevent
request IByokLmChatRequest IByokLmChatResult
handle IByokLmProxyHandle
registry
registration registry chat
service registry
handle service
handle
handle
registration
service
handle IByokLmProxyHandle vendor
handle IByokLmProxyHandle Record
output
handle
response
assertresponsestatus
assert response
output
handle
response handle
method
headers
body model input
assertresponsestatus
output
handle
response handle
method
headers
body model input
assertresponsestatus
output
handle
response
method
headers handle
body
assertresponsestatus
captured IByokLmChatRequest
request
captured request
output type content type text
handle
response handle
method
headers handle
body model input type role content type text
assertresponsestatus
assertresponseheaders
body response output content text
assertbodyoutputcontenttext
assertcapturedvendor
assertcapturedmodelId
assertcapturedinput type role content type text
captured IByokLmChatRequest
statuses
imageMessage
type
role
content
type text
type image_url
request
capturedrequest
output
handle
input
imageMessage
imageMessage type role content type text
response handle
method
headers handle
body model input
statusesresponsestatus
response
assert statuses input capturedrequest requestinput
statuses
input
type
role
content
type text
type mimeType data
type
role
content
type text
type mimeType data
type
role
content
type text
output
handle
responses status body
imageUrl
response handle
method
headers handle
body
model
input
type
role
content type image_url imageUrl
responses status responsestatus body response
assertresponses
status
body
error
message
type
status
body
error
message
type
status
body
error
message
type
captured IByokLmChatRequest
request
captured request
output type content type text
handle
response handle
method
headers handle
body
model
input
type
call_id
name
input
type call_id output
assertresponsestatus
response
assertcapturedinput
type
callId
name
input
type callId output
captured IByokLmChatRequest
request captured request output type content type text
handle
response handle
method
headers handle
body model input
assertresponsestatus
response
assertcapturedvendor
output
handle
response handle
method
headers handle
body model input
assertresponsestatus
output type callId name argumentsJson
handle
response handle
method
headers handle
body model input stream
text response
asserttext
asserttext
asserttext
output error
handle
response handle
method
headers handle
body model input
assertresponsestatus
body response error message
assertbodyerrormessage
handle
response handle
method
headers handle
body model input
assertresponsestatus
body response error message
assertbodyerrormessage
output
handle
response handle
method
headers handle
body
assertresponsestatus
registry
service registry
handle service
response handle
method
headers handle
body model input
assertresponsestatus
handle
service
registry
calls
regServing registry
calls output type content type text
vendor id
regNonServing registry
calls output type content type text
onDidChangeModels EventNone
service registry
handle service
res handle
method headers handle
body model input
assert
routedToServing res
calls
routedToServing calls
handle
regServing
regNonServing
service
registry
registration registry output type content type text
service registry
first service
firstNonce firstnonce
first
second service
assertsecondnonce firstNonce
second
registration
service