MCPcopy Create free account
hub / github.com/RobotTelevision/CrowAssistant / __init__

Method __init__

CrowConfig.py:6–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4class 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")

Callers

nothing calls this directly

Calls 1

load_configMethod · 0.95

Tested by

no test coverage detected