Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
GEN_AI_USAGE_TOTAL_TOKENS,
} from '@sentry/conventions/attributes';
import { expect, it } from 'vitest';
import { GEN_AI_REQUEST_STREAM_ATTRIBUTE } from '../../../../../packages/core/src/tracing/ai/gen-ai-attributes';
import { GEN_AI_REQUEST_STREAM_ATTRIBUTE } from '../../../../../packages/server-utils/src/ai/core/gen-ai-attributes';
import { createRunner } from '../../../runner';

// These tests are not exhaustive because the instrumentation is
Expand Down
4 changes: 0 additions & 4 deletions packages/core/src/server-exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,3 @@ export type {
HttpServerResponse,
HttpModuleExport,
} from './integrations/http/types';

// AI instrumentation is only supported in server runtimes, so these exports are kept out of the browser entry to
// avoid shipping the AI tracing code in browser bundles.
export { getTruncatedJsonString, shouldEnableTruncation, resolveAIRecordingOptions } from './tracing/ai/utils';
51 changes: 0 additions & 51 deletions packages/core/src/tracing/ai/gen-ai-attributes.ts

This file was deleted.

197 changes: 0 additions & 197 deletions packages/core/src/tracing/ai/mediaStripping.ts

This file was deleted.

Loading
Loading