Skip to content

Commit

Permalink
[Vertex AI] Fix testCountTokens_jsonSchema integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Nov 7, 2024
1 parent f96b347 commit 255eb14
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ final class IntegrationTests: XCTestCase {

let response = try await model.countTokens(prompt)

XCTAssertEqual(response.totalTokens, 34)
XCTAssertEqual(response.totalBillableCharacters, 59)
XCTAssertEqual(response.totalTokens, 58)
XCTAssertEqual(response.totalBillableCharacters, 160)
}

func testCountTokens_appCheckNotConfigured_shouldFail() async throws {
Expand Down

0 comments on commit 255eb14

Please sign in to comment.