Skip to content

Commit 7ea0254

Browse files
author
Aegis AI Assistant
committed
chore: stabilize CI by fixing Swift 6 Sendable errors and cleaning up test warnings
1 parent 0f8b861 commit 7ea0254

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/SwiftBuddyTests/VLMProcessorTests.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ final class VLMProcessorTests: XCTestCase {
88

99
// Feature 4: Reject request with no image when model requires one
1010
func testVLM_RejectMissingImage() async throws {
11-
let registry = VLMProcessorTypeRegistry.shared
12-
1311
// We know PaliGemmaProcessor throws if given no images
14-
let dummyData = "{}".data(using: .utf8)!
1512
let dummyTokenizer = MockTokenizer()
1613

1714
let json = """
@@ -30,7 +27,7 @@ final class VLMProcessorTests: XCTestCase {
3027
let input = UserInput(prompt: "Hello", images: [])
3128

3229
do {
33-
_ = try await processor.prepare(input: input)
30+
_ = try processor.prepare(input: input)
3431
XCTFail("Should have thrown imageRequired")
3532
} catch VLMError.imageRequired {
3633
// Success

0 commit comments

Comments
 (0)