Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
'Outline was not found in planning stage response.'
)
]
)
;
}
// Return message to Model asking it to create the notebook using existing tools.
=
'failedToRenderNewNotebookPrompt'
;
return
new
ExtendedLanguageModelToolResult
(
[
new
LanguageModelPromptTsxPart
(
await
renderPromptElementJSON
(
this
.
instantiationService
,
NewNotebookToolPromptContent
,
{
:
,
:
,
,
:
this
.
_input
.
tools
?.
,
}
,
// If we are not called with tokenization options, have _some_ fake tokenizer
// otherwise we end up returning the entire document
.
tokenizationOptions
??
{
:
1000
,
countTokens
:
(
)
=>
Promise
.
resolve
(
.
length
*
3
/
4
)
}
,
,
)
,
)
]
)
;
}
catch
(
)
{
=
true
;
this
.
sendTelemetry
(
,
)
;
throw
;
}
finally
{
if
(
!
)
{
this
.
sendTelemetry
(
'success'
,
)
;
}
.
dispose
(
)
;
}
}
async
resolveInput
(
:
IBuildPromptContext
,
:
IBuildPromptContext
,
:
CopilotToolMode
)
:
Promise
<
IBuildPromptContext
>
{
this
.
_input
=
;
return
;
}
async
sendTelemetry
(
:
'noStream'
|
'failedToCreatePlanningEndpoint'
|
'failedToRenderPlanningPrompt'
|
'failedToMakePlanningRequest'
|
'failedToRenderNewNotebookPrompt'
|
'planningFailed'
|
'noOutline'
|
'unknownError'
|
'success'
,
:
.
LanguageModelToolInvocationOptions
<
IBuildPromptContext
>
)
{
const
=
.
model
&&
(
await
this
.
endpointProvider
.
getChatEndpoint
(
.
model
)
)
.
model
;
/* __GDPR__
"newNotebookTool.outcome" : {
"owner": "donjayamanne",
"comment": "Tracks the outcome of new notebook tool",
"requestId": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "comment": "The id of the current request turn." },
"outcome": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "comment": "The outcome of the tool call." },
"isNotebook": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true, "comment": "Whether the document is a notebook (this measure is used to identify notebook related telemetry)." },
"model": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "comment": "The model used for the request." }
}
*/