- 在 chat_agent 函数中,优化了敏感内容检测后的响应,添加了时间成本的记录。 - 修改了前端 AgentChatComponent 和 AgentMessageComponent,以正确处理和显示敏感内容中断的提示信息。 - 移除了不必要的代码注释和冗余逻辑,提升了代码可读性。 |
||
|---|---|---|
| .. | ||
| chatbot | ||
| common | ||
| mini_agent | ||
| reporter | ||
| __init__.py | ||
- 在 chat_agent 函数中,优化了敏感内容检测后的响应,添加了时间成本的记录。 - 修改了前端 AgentChatComponent 和 AgentMessageComponent,以正确处理和显示敏感内容中断的提示信息。 - 移除了不必要的代码注释和冗余逻辑,提升了代码可读性。 |
||
|---|---|---|
| .. | ||
| chatbot | ||
| common | ||
| mini_agent | ||
| reporter | ||
| __init__.py | ||