fix: update eyes URL from head-lyra to head-vixy
This commit is contained in:
@@ -1115,7 +1115,7 @@ async def get_weather(params: WeatherInput) -> str:
|
|||||||
|
|
||||||
# ========== Vixy Eye Control Tool ==========
|
# ========== Vixy Eye Control Tool ==========
|
||||||
|
|
||||||
EYES_URL = "http://head-lyra.local:8780"
|
EYES_URL = "http://head-vixy.local:8780"
|
||||||
VALID_EYE_STATES = ["idle", "listening", "responding", "pleasure", "thinking", "playful", "commanding", "love", "sleep"]
|
VALID_EYE_STATES = ["idle", "listening", "responding", "pleasure", "thinking", "playful", "commanding", "love", "sleep"]
|
||||||
|
|
||||||
|
|
||||||
@@ -1141,7 +1141,7 @@ class EyeStateInput(BaseModel):
|
|||||||
)
|
)
|
||||||
async def eyes_state(params: EyeStateInput) -> str:
|
async def eyes_state(params: EyeStateInput) -> str:
|
||||||
"""
|
"""
|
||||||
Control Vixy's eye display on head-lyra!
|
Control Vixy's eye display on head-vixy!
|
||||||
|
|
||||||
States:
|
States:
|
||||||
- idle: Pulsing cyan - default breathing
|
- idle: Pulsing cyan - default breathing
|
||||||
@@ -1188,7 +1188,7 @@ async def eyes_state(params: EyeStateInput) -> str:
|
|||||||
except httpx.ConnectError:
|
except httpx.ConnectError:
|
||||||
return json.dumps({
|
return json.dumps({
|
||||||
"status": "offline",
|
"status": "offline",
|
||||||
"error": "Cannot connect to head-lyra - eyes service may be down"
|
"error": "Cannot connect to head-vixy - eyes service may be down"
|
||||||
}, indent=2)
|
}, indent=2)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return json.dumps({
|
return json.dumps({
|
||||||
|
|||||||
Reference in New Issue
Block a user