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