(self)
| 4 | class config: |
| 5 | |
| 6 | def __init__(self): |
| 7 | self.config = { |
| 8 | "name": "Crow", |
| 9 | "personality": "", |
| 10 | "voice": 1, |
| 11 | "url": "https://api.groq.com/openai/v1", |
| 12 | "api_key": os.environ.get("API_KEY", ""), |
| 13 | "model": "mixtral-8x7b-32768", |
| 14 | "mic":"default", |
| 15 | "speaker":"default", |
| 16 | "scale":3, |
| 17 | "port":5000, |
| 18 | "maxtoken":32000, |
| 19 | "maxmsg":100, |
| 20 | } |
| 21 | self.CONFIG_FILE = 'config.json' |
| 22 | self.load_config() |
| 23 | |
| 24 | def load_config(self): |
| 25 | print("Loading Config") |
nothing calls this directly
no test coverage detected