@axiom-lattice/core 2.1.5 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2176,7 +2176,7 @@ function createTaskTool(options) {
|
|
|
2176
2176
|
const currentState = (0, import_langgraph6.getCurrentTaskInput)();
|
|
2177
2177
|
const subagentState = filterStateForSubagent(currentState);
|
|
2178
2178
|
subagentState.messages = [new import_messages.HumanMessage({ content: description })];
|
|
2179
|
-
const subagent_thread_id = config.configurable?.thread_id + "
|
|
2179
|
+
const subagent_thread_id = config.configurable?.thread_id + "____" + subagent_type + "_" + config.toolCall.id;
|
|
2180
2180
|
console.log(subagent_thread_id);
|
|
2181
2181
|
const workerResult = await agentWorkerGraph.invoke({
|
|
2182
2182
|
assistant_id: subagent_type,
|
|
@@ -2617,7 +2617,7 @@ ${BASE_PROMPT}` : BASE_PROMPT;
|
|
|
2617
2617
|
],
|
|
2618
2618
|
defaultInterruptOn: interruptOn,
|
|
2619
2619
|
subagents,
|
|
2620
|
-
generalPurposeAgent:
|
|
2620
|
+
generalPurposeAgent: false
|
|
2621
2621
|
}),
|
|
2622
2622
|
// Automatically summarizes conversation history when token limits are approached
|
|
2623
2623
|
(0, import_langchain6.summarizationMiddleware)({
|