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 { describe, expect, it } from 'vitest';
import { CopilotChatAttr, GenAiAttr, GenAiOperationName, GenAiProviderName } from '../genAiAttributes';
import { SpanKind, SpanStatusCode } from '../otelService';
import { CapturingOTelService } from './capturingOTelService';
/**
* Tests the two-phase span lifecycle used in chatMLFetcher:
* 1. _doFetch creates a span, returns it alongside the result
* 2. fetchMany enriches it with token usage and response data, then ends it
*
* This pattern is unique because the span is created in one method
* and ended in another — testing lifecycle correctness.
*/
describe('chatMLFetcher Span Lifecycle', () => {
it(
otel
span otel
kind SpanKind
attributes
GenAiAttr GenAiOperationName
GenAiAttr GenAiProviderName
GenAiAttr
GenAiAttr
GenAiAttr
CopilotChatAttr
s otelspans
sname
skindSpanKind
sattributesGenAiAttr
sattributesGenAiAttr
sended
span
GenAiAttr
GenAiAttr
GenAiAttr
GenAiAttr
GenAiAttr
CopilotChatAttr
GenAiAttr
GenAiAttr
CopilotChatAttr
spanSpanStatusCode
span
sattributesGenAiAttr
sattributesGenAiAttr
sattributesGenAiAttr
sattributesGenAiAttr
sattributesCopilotChatAttr
sstatusCodeSpanStatusCode
sended
otel
span otel
kind SpanKind
attributes GenAiAttr GenAiOperationName
spanSpanStatusCode
span
span
span
s otelspans
sstatusCodeSpanStatusCode
sended
sexceptions
otel
durationSec
otel durationSec
GenAiAttr GenAiOperationName
GenAiAttr GenAiProviderName
GenAiAttr
otelmetrics
otelmetricsname
otelmetricsvalue
otel
span otel
kind SpanKind
attributes GenAiAttr GenAiOperationName
spanGenAiAttr
span
otelspansattributesGenAiAttr