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 { Raw } from '@vscode/prompt-tsx';
import { beforeEach, describe, expect, it } from 'vitest';
import { DisposableStore } from '../../../../util/vs/base/common/lifecycle';
import { IInstantiationService } from '../../../../util/vs/platform/instantiation/common/instantiation';
import { ChatLocation } from '../../../chat/common/commonTypes';
import { IResponseDelta, OpenAiFunctionTool } from '../../../networking/common/fetch';
import { IChatEndpoint, ICreateEndpointBodyOptions } from
IToolDeferralService
TelemetryData
SpyingTelemetryService
createPlatformServices
createResponsesRequestBody OpenAIResponsesProcessor
model IChatEndpoint
model
family model
modelProvider
supportsToolCalls
supportsToolSearch model model
supportsVision
supportsPrediction
showInModelPicker
isFallback
maxOutputTokens
modelMaxPromptTokens
urlOrRequestMetadata
name model
version
tokenizer
IChatEndpoint
overrides PartialICreateEndpointBodyOptions ICreateEndpointBodyOptions
debugName
messages role RawChatRoleUser content type RawChatCompletionContentPartKindText text
location ChatLocationAgent
finishedCb
requestId
postOptions max_tokens
requestOptions
tools
type name description parameters type properties path type required
type name description parameters type properties query type required
type name description parameters type properties input type required
type name description parameters type properties
type name description parameters type properties query type required
overrides
ICreateEndpointBodyOptions
name description properties Record object required OpenAiFunctionTool
type
name
description
parameters type properties requiredlength required
disposables DisposableStore
services ReturnType createPlatformServices
accessor ReturnTypeReturnType createPlatformServices
disposables
services disposables
coreNonDeferred
servicesIToolDeferralService _serviceBrand name coreNonDeferredname
accessor services
messages RawChatMessage
endpoint
options
messages
requestOptions
tools
query type
path type
input type
query type
accessorIInstantiationService
createResponsesRequestBody options endpointmodel endpoint
endpoint
body accessorIInstantiationService
createResponsesRequestBody endpointmodel endpoint
tools bodytools
tools
toolst ttype
toolst tdefer_loading
endpoint
body accessorIInstantiationService
createResponsesRequestBody endpointmodel endpoint
tools bodytools
tools
toolSearchTool toolst ttype
toolSearchTool
toolSearchToolexecution
toolst tname defer_loading
toolst tname defer_loading
toolst tname
toolst tname
endpoint
body accessorIInstantiationService
createResponsesRequestBody endpointmodel endpoint
tools bodytools
toolst ttype
toolst tdefer_loading
endpoint
options location ChatLocationPanel
body accessorIInstantiationService
createResponsesRequestBody options endpointmodel endpoint
tools bodytools
toolst ttype
toolst tdefer_loading
endpoint
options
requestOptions
tools
type name description parameters type properties
type name description parameters type properties
body accessorIInstantiationService
createResponsesRequestBody options endpointmodel endpoint
tools bodytools
toolst ttype
toolst tname
toolst tname
endpoint
options
requestOptions
tools
type name description parameters type properties
type name description parameters type properties
body accessorIInstantiationService
createResponsesRequestBody options endpointmodel endpoint
tools bodytools
toolst tname
toolst tname
endpoint
messages RawChatMessage
role RawChatRoleUser content type RawChatCompletionContentPartKindText text
role RawChatRoleAssistant
content type RawChatCompletionContentPartKindText text
toolCalls id type name arguments
role RawChatRoleTool
toolCallId
content type RawChatCompletionContentPartKindText text
options messages
body accessorIInstantiationService
createResponsesRequestBody options endpointmodel endpoint
input bodyinput
toolSearchCall inputi itype
toolSearchCall
toolSearchCallexecution
toolSearchCallcall_id
toolSearchOutput inputi itype
toolSearchOutput
toolSearchOutputexecution
toolSearchOutputcall_id
loadedToolNames toolSearchOutputtools t tname
loadedToolNames
badFunctionCall inputi itype iname
badFunctionCall
endpoint
messages RawChatMessage
role RawChatRoleUser content type RawChatCompletionContentPartKindText text
role RawChatRoleAssistant
content
toolCalls id type name arguments
role RawChatRoleTool
toolCallId
content type RawChatCompletionContentPartKindText text
options messages requestOptions
body accessorIInstantiationService
createResponsesRequestBody options endpointmodel endpoint
input bodyinput type name execution call_id tools
inputi itype
type
execution
call_id
inputi itype
type
execution
call_id
tools
inputi itype iname
messages RawChatMessage
role RawChatRoleUser content type RawChatCompletionContentPartKindText text
role RawChatRoleAssistant
content
toolCalls id type name arguments
role RawChatRoleTool
toolCallId
content type RawChatCompletionContentPartKindText text
role RawChatRoleAssistant
content
toolCalls
id type name arguments
id type name arguments
body messages
input bodyinput type name namespace tools name
toolSearchOutput inputi itype
fileSearchCall inputi itype iname
mcpToolCall inputi itype iname
loadedToolNames toolSearchOutputtoolst tname
fileSearchNamespace fileSearchCallnamespace
mcpToolNamespace mcpToolCallnamespace
loadedToolNames
fileSearchNamespace
mcpToolNamespace
messages RawChatMessage
role RawChatRoleUser content type RawChatCompletionContentPartKindText text
role RawChatRoleAssistant
content
toolCalls id type name arguments
role RawChatRoleTool
toolCallId
content type RawChatCompletionContentPartKindText text
body messages
input bodyinput type tools name
toolSearchOutput inputi itype
toolSearchOutputtoolst tname
modelId
statefulMarker
messages RawChatMessage
role RawChatRoleUser content type RawChatCompletionContentPartKindText text
role RawChatRoleAssistant
content
type RawChatCompletionContentPartKindOpaque
value type value modelId marker statefulMarker
toolCalls id type name arguments
role RawChatRoleTool
toolCallId
content type RawChatCompletionContentPartKindText text
role RawChatRoleAssistant
content
toolCalls id type name arguments
body messages
input bodyinput type name namespace call_id tools name
previous_response_id bodyprevious_response_id
toolSearchOutput inputi itype
badFunctionCallOutput inputi itype icall_id
mcpToolNamespace inputi itype iname namespace
previous_response_id statefulMarker
toolSearchOutput
type
execution
call_id
status
tools expect name defer_loading
badFunctionCallOutput
mcpToolNamespace
richSchema
type
required
properties
command type
full_output type
last_lines type minimum
regex type
allOf
not required
not required
not required
endpoint
inlineBody accessorIInstantiationService
createResponsesRequestBody
requestOptions
tools
type name description parameters richSchema
type name description parameters type properties
endpointmodel
endpoint
deferredBody accessorIInstantiationService
createResponsesRequestBody
messages
role RawChatRoleUser content type RawChatCompletionContentPartKindText text
role RawChatRoleAssistant
content
toolCalls id type name arguments
role RawChatRoleTool
toolCallId
content type RawChatCompletionContentPartKindText text
requestOptions
tools
type name description parameters richSchema
type name description parameters type properties
endpointmodel
endpoint
inlineReadFile inlineBodytools name strict parameters t tname
deferredToolSearchOutput deferredBodyinput type tools name strict defer_loading parameters i itype
deferredRunInShell deferredToolSearchOutputtoolst tname
inline strict inlineReadFilestrict parameters inlineReadFileparameters
deferred
strict deferredRunInShellstrict
defer_loading deferredRunInShelldefer_loading
parameters deferredRunInShellparameters
inline strict parameters richSchema
deferred strict defer_loading parameters richSchema
telemetryData TelemetryData
telemetryService
ds
services ds
accessor services
accessorIInstantiationServiceOpenAIResponsesProcessor telemetryData telemetryService
processor OpenAIResponsesProcessor events IResponseDelta
deltas IResponseDelta
_text _index delta IResponseDelta
deltasdelta
event events
processor sequence_number event finishedCb
deltas
processor
deltas processor
type
output_index
item
type
id
execution
call_id
status
arguments
type
output_index
item
type
id
execution
call_id
status
arguments query
deltasbeginToolCalls
deltasbeginToolCallsname
deltasbeginToolCallsid
deltascopilotToolCalls
deltascopilotToolCalls
id
name
arguments