mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
🏷️ Type plugins field in config
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
"""Configuration class to store the state of bools for different scripts access."""
|
||||
import os
|
||||
|
||||
from typing import List
|
||||
import openai
|
||||
from plugin_template import AutoGPTPluginTemplate
|
||||
import yaml
|
||||
from colorama import Fore
|
||||
from dotenv import load_dotenv
|
||||
@@ -107,7 +109,7 @@ class Config(metaclass=Singleton):
|
||||
# Initialize the OpenAI API client
|
||||
openai.api_key = self.openai_api_key
|
||||
|
||||
self.plugins = []
|
||||
self.plugins: List[AutoGPTPluginTemplate] = []
|
||||
self.plugins_whitelist = []
|
||||
self.plugins_blacklist = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user