feat(memory): build session context for getSystemPrompt
This commit is contained in:
@@ -574,6 +574,7 @@ export class AgentOrchestrator {
|
||||
*/
|
||||
getSystemPrompt(userMessage?: string): string {
|
||||
if (typeof userMessage === 'string') {
|
||||
this._buildSessionContext();
|
||||
this._injectMemoryContext(userMessage);
|
||||
}
|
||||
return this._agent.getSystemPrompt();
|
||||
|
||||
Reference in New Issue
Block a user