deepagents 1.7.3 → 1.7.4
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.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2136,11 +2136,10 @@ function createSkillsMiddleware(options) {
|
|
|
2136
2136
|
const skillsLocations = formatSkillsLocations(sources);
|
|
2137
2137
|
const skillsList = formatSkillsList(skillsMetadata, sources);
|
|
2138
2138
|
const skillsSection = SKILLS_SYSTEM_PROMPT.replace("{skills_locations}", skillsLocations).replace("{skills_list}", skillsList);
|
|
2139
|
-
const
|
|
2140
|
-
const newSystemPrompt = currentSystemPrompt ? `${currentSystemPrompt}\n\n${skillsSection}` : skillsSection;
|
|
2139
|
+
const newSystemMessage = request.systemMessage.concat(skillsSection);
|
|
2141
2140
|
return handler({
|
|
2142
2141
|
...request,
|
|
2143
|
-
|
|
2142
|
+
systemMessage: newSystemMessage
|
|
2144
2143
|
});
|
|
2145
2144
|
}
|
|
2146
2145
|
});
|