Skip to content

Commit f14267c

Browse files
committed
Lint
1 parent 617a2c9 commit f14267c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/core/src/tracing/anthropic-ai/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../../semanticAttributes';
44
import { SPAN_STATUS_ERROR } from '../../tracing';
55
import { startSpan, startSpanManual } from '../../tracing/trace';
66
import type { Span, SpanAttributeValue } from '../../types-hoist/span';
7+
import { handleCallbackErrors } from '../../utils/handleCallbackErrors';
78
import {
89
ANTHROPIC_AI_RESPONSE_TIMESTAMP_ATTRIBUTE,
910
GEN_AI_OPERATION_NAME_ATTRIBUTE,
@@ -30,7 +31,6 @@ import {
3031
getTruncatedJsonString,
3132
setTokenUsageAttributes,
3233
} from '../ai/utils';
33-
import { handleCallbackErrors } from '../../utils/handleCallbackErrors';
3434
import { instrumentAsyncIterableStream, instrumentMessageStream } from './streaming';
3535
import type {
3636
AnthropicAiInstrumentedMethod,

packages/core/src/tracing/google-genai/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../../semanticAttributes';
44
import { SPAN_STATUS_ERROR } from '../../tracing';
55
import { startSpan, startSpanManual } from '../../tracing/trace';
66
import type { Span, SpanAttributeValue } from '../../types-hoist/span';
7+
import { handleCallbackErrors } from '../../utils/handleCallbackErrors';
78
import {
89
GEN_AI_OPERATION_NAME_ATTRIBUTE,
910
GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE,
@@ -23,7 +24,6 @@ import {
2324
GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE,
2425
} from '../ai/gen-ai-attributes';
2526
import { buildMethodPath, getFinalOperationName, getSpanOperation, getTruncatedJsonString } from '../ai/utils';
26-
import { handleCallbackErrors } from '../../utils/handleCallbackErrors';
2727
import { CHAT_PATH, CHATS_CREATE_METHOD, GOOGLE_GENAI_SYSTEM_NAME } from './constants';
2828
import { instrumentStream } from './streaming';
2929
import type {

packages/core/src/tracing/vercel-ai/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import type { Client } from '../../client';
22
import { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '../../semanticAttributes';
33
import type { Event } from '../../types-hoist/event';
44
import type { Span, SpanAttributes, SpanAttributeValue, SpanJSON, SpanOrigin } from '../../types-hoist/span';
5+
import { spanToJSON } from '../../utils/spanUtils';
56
import {
67
GEN_AI_USAGE_INPUT_TOKENS_CACHE_WRITE_ATTRIBUTE,
78
GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE,
89
} from '../ai/gen-ai-attributes';
910
import { getTruncatedJsonString } from '../ai/utils';
10-
import { spanToJSON } from '../../utils/spanUtils';
1111
import { toolCallSpanMap } from './constants';
1212
import type { TokenSummary } from './types';
1313
import { accumulateTokensForParent, applyAccumulatedTokens } from './utils';

0 commit comments

Comments
 (0)