mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 13:33:57 +08:00
fix:修复不启动意图识别,functioncall依旧加载的bug (#691)
update:intent_llm意图识别获取新闻和天气过长,tts容易出错,暂时只支持简单简单工具
This commit is contained in:
@@ -16,5 +16,7 @@ class IntentProvider(IntentProviderBase):
|
||||
Returns:
|
||||
固定返回"继续聊天"
|
||||
"""
|
||||
logger.bind(tag=TAG).debug("Using NoIntentProvider, always returning continue chat")
|
||||
return self.intent_options["continue_chat"]
|
||||
logger.bind(tag=TAG).debug(
|
||||
"Using NoIntentProvider, always returning continue chat"
|
||||
)
|
||||
return '{"function_call": {"name": "continue_chat"}}'
|
||||
|
||||
Reference in New Issue
Block a user