gemini-api-quickstart icon indicating copy to clipboard operation
gemini-api-quickstart copied to clipboard

fix: add usage of `GOOGLE_API_KEY` env var (-and other improvements)

Open tnvmadhav opened this issue 1 year ago • 0 comments

Fix:

  • Add usage of GOOGLE_API_KEY environment variable during genai client configuration step. Fixes #2

Improvements

  • Refactor for better readability by flake8 linting standards
  • Refactor allowed_file function logic to make use of os.path.splitext(...) module

tnvmadhav avatar May 19 '24 13:05 tnvmadhav