From 145fa9c1afa32d2c0e9a44d771f4b452f3482dac Mon Sep 17 00:00:00 2001 From: Tyler Thomas Date: Sat, 24 Feb 2024 15:19:19 -0700 Subject: [PATCH] reformat --- test/runtests.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index c798612..022f826 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -20,10 +20,10 @@ const secret_key = ENV["GOOGLE_API_KEY"] @test typeof(response) == GoogleGenAI.GoogleTextResponse # Multi-turn conversation - conversation = [ - Dict(:role => "user", :parts => [Dict(:text => "Hello")]), - ] - response = generate_content(secret_key, "gemini-pro", conversation; max_output_tokens=50) + conversation = [Dict(:role => "user", :parts => [Dict(:text => "Hello")])] + response = generate_content( + secret_key, "gemini-pro", conversation; max_output_tokens=50 + ) n_tokens = count_tokens(secret_key, "gemini-pro", "Hello") @test n_tokens == 1