Skip to content

Commit cf41be3

Browse files
committed
chore(ai): register provider type entrypoint
1 parent 0826b87 commit cf41be3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎config/knip.config.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ const config = {
504504
// Mirror the published export map so knip sees every dist entry point.
505505
entry: [
506506
"src/index.ts!",
507+
"src/provider-types.ts!",
507508
"src/providers.ts!",
508509
"src/types.ts!",
509510
"src/validation.ts!",

‎packages/ai/src/provider-transcript-transform.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type { Message, Model as CanonicalModel } from "./types.js";
1212
const IMAGE_OMISSION = "(image omitted: model does not support images)";
1313
const VIDEO_OMISSION = "(video omitted: provider does not support video input)";
1414

15-
export function projectUserMediaForTransport(
15+
function projectUserMediaForTransport(
1616
content: ModelInputContent[],
1717
supportsImages: boolean,
1818
): Exclude<ModelInputContent, VideoContent>[] {

0 commit comments

Comments
 (0)