mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-19 21:37:20 +08:00
修改后默认使用用户传入的history,只有同时传入conversation_id和history_len时才从数据库读取历史消息 使用memory还有一个问题,对话角色是固定的,不能适配不同的模型。 其它:注释一些无用的 print
修改后默认使用用户传入的history,只有同时传入conversation_id和history_len时才从数据库读取历史消息 使用memory还有一个问题,对话角色是固定的,不能适配不同的模型。 其它:注释一些无用的 print