Files
nyaterm/src-tauri
Kang a0c0ee5b1d feat(agent): enhance conversation history management in agent interactions (#825)
- Introduced `build_initial_agent_conversation` function to construct the initial conversation with prior messages, ensuring context is maintained across sessions.
- Implemented logic to filter and limit history messages based on session ID and specified history turns.
- Updated `run_agent_stream` to utilize the new conversation building function, improving the handling of user input and assistant responses.
- Added unit tests to validate the correct restoration of previous turns and session-specific history management.
2026-09-30 13:24:50 +08:00
..
2026-09-29 01:55:41 +08:00
2026-09-29 01:55:41 +08:00
2026-09-29 01:55:41 +08:00
2026-09-29 01:55:41 +08:00