mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
update:修改日志
This commit is contained in:
parent
82125c4933
commit
7a7bfa26f6
2 changed files with 2 additions and 1 deletions
|
|
@ -59,4 +59,6 @@ class ContextDataProvider:
|
|||
|
||||
# 将所有格式化后的行拼接成一个字符串
|
||||
self.context_data = "\n".join(formatted_lines)
|
||||
if self.context_data:
|
||||
self.logger.bind(tag=TAG).debug(f"已注入动态上下文数据:\n{self.context_data}")
|
||||
return self.context_data
|
||||
|
|
|
|||
|
|
@ -253,7 +253,6 @@ class PromptManager:
|
|||
self.logger.bind(tag=TAG).info(
|
||||
f"构建增强提示词成功,长度: {len(enhanced_prompt)}"
|
||||
)
|
||||
print("enhanced_prompt:", enhanced_prompt)
|
||||
return enhanced_prompt
|
||||
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Reference in a new issue