feat(memory): build session context for getSystemPrompt

This commit is contained in:
William Valentin
2026-02-25 16:58:52 -08:00
parent 0a354a597a
commit 17f53e57d0
+1
View File
@@ -574,6 +574,7 @@ export class AgentOrchestrator {
*/
getSystemPrompt(userMessage?: string): string {
if (typeof userMessage === 'string') {
this._buildSessionContext();
this._injectMemoryContext(userMessage);
}
return this._agent.getSystemPrompt();