mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
1、新增工具调用Action枚举RECORD,通过完整的三段式 assistant(tool_calls) → tool → assistant(response)让模型准确学习到工具调用的正确行为,优化play_music的工具调用枚举NONE变更为RECORD,优化解决音乐播放工具调用缺陷问题。 2、处理悬空 tool_calls问题。 3、去除工具提示词强化注入逻辑。 |
||
|---|---|---|
| .. | ||
| change_role.py | ||
| get_news_from_chinanews.py | ||
| get_news_from_newsnow.py | ||
| get_time.py | ||
| get_weather.py | ||
| handle_exit_intent.py | ||
| hass_get_state.py | ||
| hass_init.py | ||
| hass_play_music.py | ||
| hass_set_state.py | ||
| play_music.py | ||
| search_from_ragflow.py | ||