This directory contains examples of working with the Gemini API using the Google Gen AI SDK for Java.
open the project in intelliJ IDEA, load the maven build script.
Before running the tests, set GOOGLE_API_KEY as environment variable for run/debug configuration.
mvn -Dtest=<filename> test
For example:
mvn -Dtest=CodeExecutionTest test