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

This commit is contained in:
cybermaggedon 2024-11-18 21:47:17 +00:00 committed by GitHub
parent 1c7568ea9e
commit c697b36c8c
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):