Skip to content

Commit dea4790

Browse files
fix: format middleware.ts and remove unused import in test
Fix Biome CI failures: - Fix formatting issue in addSystemPrompt call (middleware.ts:658) - Remove unused SupermemoryOpenAIOptions import (unit.test.ts:7) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent af4838b commit dea4790

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

packages/tools/src/openai/middleware.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,14 @@ export function createOpenAIMiddleware(
655655
}
656656

657657
operations.push(
658-
addSystemPrompt(messages, containerTag, logger, mode, normalizedBaseUrl, apiKey),
658+
addSystemPrompt(
659+
messages,
660+
containerTag,
661+
logger,
662+
mode,
663+
normalizedBaseUrl,
664+
apiKey,
665+
),
659666
)
660667

661668
const results = await Promise.all(operations)

packages/tools/test/openai/unit.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import { describe, it, expect, beforeEach, vi, afterEach } from "vitest"
66
import { withSupermemory } from "../../src/openai"
7-
import type { SupermemoryOpenAIOptions } from "../../src/openai"
87
import { createMockProfileResponse } from "../utils/supermemory-mocks"
98

109
// Create a mock OpenAI client

0 commit comments

Comments
 (0)