We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34e87c9 commit 8b29dafCopy full SHA for 8b29daf
FirebaseAI/Tests/TestApp/Tests/Integration/GenerateContentIntegrationTests.swift
@@ -85,7 +85,8 @@ struct GenerateContentIntegrationTests {
85
#expect(promptTokensDetails.modality == .text)
86
#expect(promptTokensDetails.tokenCount == usageMetadata.promptTokenCount)
87
if modelName.hasPrefix("gemini-3") {
88
- #expect(usageMetadata.thoughtsTokenCount == 64)
+ // For gemini-3 models, the thoughtsTokenCount can vary slightly between runs.
89
+ #expect(usageMetadata.thoughtsTokenCount >= 64)
90
} else {
91
#expect(usageMetadata.thoughtsTokenCount == 0)
92
}
0 commit comments