Fix env var passing (#120)

This commit is contained in:
cybermaggedon 2024-10-15 20:02:21 +01:00 committed by GitHub
parent 25983d1557
commit 04617a81f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 7 additions and 1 deletions

View file

@ -39,7 +39,7 @@ default_model = 'gemini-1.0-pro-001'
default_region = 'us-central1'
default_temperature = 0.0
default_max_output = 8192
default_private_key = os.getenv("VERTEXAI_KEY")
default_private_key = "private.json"
class Processor(ConsumerProducer):