feat: ✨ Updated to python 3.14 and made sure packages are up to date.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
# App config
|
||||
LM_STUDIO_URL = "http://127.0.0.1:1234/v1/chat/completions"
|
||||
EXIT_STRINGS = ['exit','goodbye','go away','fuck off', 'bye']
|
||||
MODEL_NAME = "qwen/qwen3-coder-30b"
|
||||
EXIT_STRINGS = ["exit", "goodbye", "go away", "fuck off", "bye"]
|
||||
|
||||
# LLM Config
|
||||
SYSTEM_MESSAGE = '''You have the following tools available,
|
||||
SYSTEM_MESSAGE = """You have the following tools available,
|
||||
if you cant use a tool, you dont need to tell me, just answer normally.
|
||||
if you are using a tool reply only with the exact JSON format shown in examples with NO SPACES and NO OTHER TEXT.
|
||||
|
||||
@@ -97,60 +98,61 @@ CRITICAL: When calling tools, use COMPACT JSON with NO SPACES:
|
||||
{"tool": "set_room_brightness", "parameters": {"room_name": "Kitchen", "brightness": 75}},
|
||||
]
|
||||
}
|
||||
'''
|
||||
"""
|
||||
|
||||
# Tool config
|
||||
# WMO Weather interpretation codes mapping
|
||||
WEATHER_CODE_MAP = {
|
||||
0: "Clear sky",
|
||||
1: "Mainly clear",
|
||||
2: "Partly cloudy",
|
||||
1: "Mainly clear",
|
||||
2: "Partly cloudy",
|
||||
3: "Overcast",
|
||||
45: "Fog",
|
||||
45: "Fog",
|
||||
48: "Depositing rime fog",
|
||||
51: "Light drizzle",
|
||||
53: "Moderate drizzle",
|
||||
51: "Light drizzle",
|
||||
53: "Moderate drizzle",
|
||||
55: "Dense drizzle",
|
||||
56: "Light freezing drizzle",
|
||||
56: "Light freezing drizzle",
|
||||
57: "Dense freezing drizzle",
|
||||
61: "Slight rain",
|
||||
63: "Moderate rain",
|
||||
61: "Slight rain",
|
||||
63: "Moderate rain",
|
||||
65: "Heavy rain",
|
||||
66: "Light freezing rain",
|
||||
66: "Light freezing rain",
|
||||
67: "Heavy freezing rain",
|
||||
71: "Slight snow",
|
||||
73: "Moderate snow",
|
||||
71: "Slight snow",
|
||||
73: "Moderate snow",
|
||||
75: "Heavy snow",
|
||||
77: "Snow grains",
|
||||
80: "Slight rain showers",
|
||||
81: "Moderate rain showers",
|
||||
80: "Slight rain showers",
|
||||
81: "Moderate rain showers",
|
||||
82: "Violent rain showers",
|
||||
85: "Slight snow showers",
|
||||
85: "Slight snow showers",
|
||||
86: "Heavy snow showers",
|
||||
95: "Thunderstorm",
|
||||
96: "Thunderstorm with slight hail",
|
||||
99: "Thunderstorm with heavy hail"
|
||||
95: "Thunderstorm",
|
||||
96: "Thunderstorm with slight hail",
|
||||
99: "Thunderstorm with heavy hail",
|
||||
}
|
||||
|
||||
LIGHT_NAMES = {
|
||||
'monkey': '9b128205-0a98-46b5-9234-2bd0be9fd009',
|
||||
'bench': 'b0fae364-78ed-4f99-86d0-6c65cbf792cd',
|
||||
"bedside": '945298e2-96b6-4c61-a506-1691bf7d7989',
|
||||
'bookshelf': '96d805e6-f39a-4e5f-9bde-3a42cbadfc6c',
|
||||
'lounge 1': '3ffcd59a-a19d-4066-af35-b5f45a2cf946',
|
||||
'lounge 2': 'facf3d02-f88d-482c-acb1-f9a4ed519356',
|
||||
'kitchen 1': 'badef93d-10ab-437d-9fc2-a09181a08fae',
|
||||
'kitchen 2': 'f15db9c5-0b67-49a6-8687-f20d768048b7',
|
||||
'kitchen 3': '47be084d-9e35-4108-aa4d-8da8f13e7d42',
|
||||
'kitchen 4': 'be408308-b14e-4bc3-9065-68055fd74b68',
|
||||
'shelf': '296ff923-da19-43a5-b1b2-7de25b227469',
|
||||
'cupboards': 'fe27cf93-68e2-47f2-a39e-d9bc4650263b',
|
||||
'office white': 'a1e0f26b-90b8-4044-98a3-58ed6a0f84b0',
|
||||
"monkey": "9b128205-0a98-46b5-9234-2bd0be9fd009",
|
||||
"bench": "b0fae364-78ed-4f99-86d0-6c65cbf792cd",
|
||||
"bedside": "945298e2-96b6-4c61-a506-1691bf7d7989",
|
||||
"bookshelf": "96d805e6-f39a-4e5f-9bde-3a42cbadfc6c",
|
||||
"lounge 1": "3ffcd59a-a19d-4066-af35-b5f45a2cf946",
|
||||
"lounge 2": "facf3d02-f88d-482c-acb1-f9a4ed519356",
|
||||
"kitchen 1": "badef93d-10ab-437d-9fc2-a09181a08fae",
|
||||
"kitchen 2": "f15db9c5-0b67-49a6-8687-f20d768048b7",
|
||||
"kitchen 3": "47be084d-9e35-4108-aa4d-8da8f13e7d42",
|
||||
"kitchen 4": "be408308-b14e-4bc3-9065-68055fd74b68",
|
||||
"shelf": "296ff923-da19-43a5-b1b2-7de25b227469",
|
||||
"cupboards": "fe27cf93-68e2-47f2-a39e-d9bc4650263b",
|
||||
"office white": "a1e0f26b-90b8-4044-98a3-58ed6a0f84b0",
|
||||
}
|
||||
ROOM_NAMES = {
|
||||
'office': 'bb0856ac-81d9-439a-83dc-8703c90574ba',
|
||||
'bedroom': '621fea30-f8b6-4de9-a347-1b4436321398',
|
||||
'lounge': '3dc9aab6-6379-4fa4-8e96-aae94fa692cf',
|
||||
'Kitchen': 'eaa524bc-edb6-4fd8-89b7-7cfc563ed7f1',
|
||||
'graveyard': 'aec3c969-581f-45c4-8f8f-b9407ee8caa3',
|
||||
}
|
||||
"office": "bb0856ac-81d9-439a-83dc-8703c90574ba",
|
||||
"bedroom": "621fea30-f8b6-4de9-a347-1b4436321398",
|
||||
"lounge": "3dc9aab6-6379-4fa4-8e96-aae94fa692cf",
|
||||
"Kitchen": "eaa524bc-edb6-4fd8-89b7-7cfc563ed7f1",
|
||||
"graveyard": "aec3c969-581f-45c4-8f8f-b9407ee8caa3",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user