Skip to content

Commit d89ae59

Browse files
committed
Format unformatted touched files from this PR
1 parent a31c379 commit d89ae59

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

js/src/logger.test.ts

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/* eslint-disable @typescript-eslint/consistent-type-assertions */
2-
import type {
3-
ChatCompletionContentPartText,
4-
ChatCompletionContentPartImage,
5-
} from "openai/resources";
2+
63
import { vi, expect, test, describe, beforeEach, afterEach } from "vitest";
74
import {
85
_exportsForTestingOnly,
@@ -19,14 +16,9 @@ import {
1916
updateSpan,
2017
Attachment,
2118
deepCopyEvent,
22-
renderMessage,
2319
renderMessageImpl,
2420
} from "./logger";
25-
import {
26-
parseTemplateFormat,
27-
isTemplateFormat,
28-
renderTemplateContent,
29-
} from "./template/renderer";
21+
3022
import { configureNode } from "./node/config";
3123
import { writeFile, unlink } from "node:fs/promises";
3224
import { join } from "node:path";
@@ -35,11 +27,6 @@ import { SpanComponentsV3 } from "../util/span_identifier_v3";
3527

3628
configureNode();
3729

38-
function getExportVersion(exportedSpan: string): number {
39-
const exportedBytes = base64ToUint8Array(exportedSpan);
40-
return exportedBytes[0];
41-
}
42-
4330
test("renderMessage with file content parts", () => {
4431
const message = {
4532
role: "user" as const,

0 commit comments

Comments
 (0)