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 { GenAiAttr, GenAiOperationName } from '../genAiAttributes';
import { emitInferenceDetailsEvent } from '../genAiEvents';
import { SpanKind, SpanStatusCode } from '../otelService';
import { CapturingOTelService } from './capturingOTelService';
/**
* Tests BYOK-style span emission patterns — verifying that chat spans
* are created with correct kind, attributes, status codes, and that
* content capture is properly gated on config.captureContent.
*
* These validate the instrumentation patterns used in anthropicProvider,
* geminiNativeProvider, and chatMLFetcher.
*/
describe('BYOK Provider Span Emission', ()
otel
span otel
kind SpanKind
attributes
GenAiAttr GenAiOperationName
GenAiAttr
GenAiAttr
GenAiAttr
span
GenAiAttr
GenAiAttr
GenAiAttr
GenAiAttr
spanSpanStatusCode
span
otelspans
s otelspans
skindSpanKind
sattributesGenAiAttr
sattributesGenAiAttr
sattributesGenAiAttr
sattributesGenAiAttr
sstatusCodeSpanStatusCode
sended
otel
span otel
kind SpanKind
attributes
GenAiAttr GenAiOperationName
GenAiAttr
GenAiAttr
spanSpanStatusCode
span
span
span
s otelspans
sstatusCodeSpanStatusCode
sstatusMessage
sattributes
sexceptions
otel captureContent
span otel kind SpanKind attributes
otelconfigcaptureContent
spanGenAiAttr
span
otelspansattributesGenAiAttr
otel captureContent
span otel kind SpanKind attributes
otelconfigcaptureContent
spanGenAiAttr
spanGenAiAttr
span
otelspansattributesGenAiAttr
otelspansattributesGenAiAttr
otel
otel
model temperature maxTokens
id model finishReasons inputTokens outputTokens
otellogRecords
attrs otellogRecordsattributes
attrs
attrsGenAiAttr
attrsGenAiAttr
attrsGenAiAttr
otel
parentCtx traceId spanId
span otel
kind SpanKind
attributes GenAiAttr GenAiOperationName
parentTraceContext parentCtx
span
otelspansparentTraceContextparentCtx