WIP - do not trim history
This commit is contained in:
@@ -348,7 +348,7 @@ export class AiAssistantService {
|
|||||||
const trimmedHistory = Array.isArray(history) ? history.slice(-6) : [];
|
const trimmedHistory = Array.isArray(history) ? history.slice(-6) : [];
|
||||||
|
|
||||||
// Use Deep Agent as the main coordinator
|
// Use Deep Agent as the main coordinator
|
||||||
const result = await this.runDeepAgent(tenantId, userId, message, trimmedHistory, context, prior);
|
const result = await this.runDeepAgent(tenantId, userId, message, history, context, prior);
|
||||||
|
|
||||||
// Update conversation state based on result
|
// Update conversation state based on result
|
||||||
if (result.record) {
|
if (result.record) {
|
||||||
|
|||||||
Reference in New Issue
Block a user