deepagents 1.11.1 → 1.12.0-rc.1
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/README.md +0 -17
- package/dist/{agent-B2XFuA-E.d.cts → agent-B2Wfp1cf.d.cts} +162 -212
- package/dist/{agent-k6GiDPCY.d.ts → agent-C_iR-pdx.d.ts} +161 -212
- package/dist/browser.cjs +4 -1
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.ts +2 -2
- package/dist/browser.js +2 -2
- package/dist/index.cjs +5 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{langsmith-DhbsxI45.cjs → langsmith-CiiwzXI3.cjs} +289 -419
- package/dist/langsmith-CiiwzXI3.cjs.map +1 -0
- package/dist/{langsmith-DVh4u6Za.js → langsmith-hz83LfzA.js} +272 -420
- package/dist/langsmith-hz83LfzA.js.map +1 -0
- package/dist/node.cjs +5 -2
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +3 -3
- package/dist/{src-DtpWpNrN.cjs → src-BMXphRFQ.cjs} +3 -4
- package/dist/src-BMXphRFQ.cjs.map +1 -0
- package/dist/{src-Cqag72HH.js → src-BMn6YVTo.js} +3 -4
- package/dist/src-BMn6YVTo.js.map +1 -0
- package/package.json +3 -3
- package/dist/langsmith-DVh4u6Za.js.map +0 -1
- package/dist/langsmith-DhbsxI45.cjs.map +0 -1
- package/dist/src-Cqag72HH.js.map +0 -1
- package/dist/src-DtpWpNrN.cjs.map +0 -1
package/README.md
CHANGED
|
@@ -107,23 +107,6 @@ const agent = createDeepAgent({
|
|
|
107
107
|
});
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
A string is placed before the built-in Deep Agent prompt. For full control over
|
|
111
|
-
prompt assembly, provide a structured configuration:
|
|
112
|
-
|
|
113
|
-
```typescript
|
|
114
|
-
const agent = createDeepAgent({
|
|
115
|
-
systemPrompt: {
|
|
116
|
-
prefix: "You are the support assistant for Acme.",
|
|
117
|
-
base: null, // Remove the built-in Deep Agent prompt.
|
|
118
|
-
suffix: "Follow Acme's escalation policy.",
|
|
119
|
-
},
|
|
120
|
-
});
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
Structured prompts are assembled as `prefix` → `base` → `suffix`, followed by
|
|
124
|
-
any model-specific harness profile suffix. Omit `base` to retain the active
|
|
125
|
-
base prompt, or set it to `null` to remove the base entirely.
|
|
126
|
-
|
|
127
110
|
See the [JavaScript Deep Agents docs](https://docs.langchain.com/oss/javascript/deepagents/overview) for full configuration options.
|
|
128
111
|
|
|
129
112
|
## LangGraph Native
|