mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-27 01:23:55 +08:00
@@ -67,6 +67,7 @@
|
|||||||
|
|
||||||
<context>
|
<context>
|
||||||
【重要!以下信息已实时提供,无需调用工具查询,请直接使用:】
|
【重要!以下信息已实时提供,无需调用工具查询,请直接使用:】
|
||||||
|
- **设备ID:** {{device_id}}
|
||||||
- **当前时间:** {{current_time}}
|
- **当前时间:** {{current_time}}
|
||||||
- **今天日期:** {{today_date}} ({{today_weekday}})
|
- **今天日期:** {{today_date}} ({{today_weekday}})
|
||||||
- **今天农历:** {{lunar_date}}
|
- **今天农历:** {{lunar_date}}
|
||||||
|
|||||||
@@ -224,6 +224,7 @@ class PromptManager:
|
|||||||
local_address=local_address,
|
local_address=local_address,
|
||||||
weather_info=weather_info,
|
weather_info=weather_info,
|
||||||
emojiList=EMOJI_List,
|
emojiList=EMOJI_List,
|
||||||
|
device_id=device_id,
|
||||||
)
|
)
|
||||||
device_cache_key = f"device_prompt:{device_id}"
|
device_cache_key = f"device_prompt:{device_id}"
|
||||||
self.cache_manager.set(
|
self.cache_manager.set(
|
||||||
|
|||||||
Reference in New Issue
Block a user