I was able to make it go away by making imagePreprocessingMode optional:
The problematic formulation was imagePreprocessingMode: Claude.Image.PreprocessingMode = .recommended (i.e. non-optional with a non-optional default value).
Reproduction
I was unable to reduce the example, but the problematic diagnostic returns when
Description
I received the following diagnostic:
I was able to make it go away by making
imagePreprocessingMode
optional:The problematic formulation was
imagePreprocessingMode: Claude.Image.PreprocessingMode = .recommended
(i.e. non-optional with a non-optional default value).Reproduction
I was unable to reduce the example, but the problematic diagnostic returns when
is used as an argument.
Expected behavior
Isolation checking succeeds
Environment
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.4 clang-1600.0.30) Target: arm64-apple-macosx15.0
Additional information
No response