Skip to content

Commit 5790454

Browse files
committed
Pick number exactly representable as a Float
1 parent af1f79d commit 5790454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/GoogleAITests/GenerationConfigTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ final class GenerationConfigTests: XCTestCase {
4343

4444
func testEncodeGenerationConfig_allOptions() throws {
4545
let temperature: Float = 0.5
46-
let topP: Float = 0.95
46+
let topP: Float = 0.75
4747
let topK = 40
4848
let candidateCount = 2
4949
let maxOutputTokens = 256

0 commit comments

Comments
 (0)