Confusion between OPENAI_KEY and OPENAI_TOKEN: settled on OPENAI_TOKEN. (#161)

This commit is contained in:
cybermaggedon 2024-11-15 18:54:54 +00:00 committed by GitHub
parent 081dd697c4
commit 0253281727
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ default_subscriber = module
default_model = 'gpt-3.5-turbo'
default_temperature = 0.0
default_max_output = 4096
default_api_key = os.getenv("OPENAI_KEY")
default_api_key = os.getenv("OPENAI_TOKEN")
class Processor(ConsumerProducer):