@adversarylabs/sdk 0.1.36 → 0.1.37
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 +7 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/model.js +1 -1
- package/dist/model.js.map +1 -1
- package/dist/repository-model.js +1 -1
- package/dist/repository-model.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -150,11 +150,16 @@ const review = await ctx.model.review<{
|
|
|
150
150
|
},
|
|
151
151
|
budget: {
|
|
152
152
|
maximumOutputTokens: 8_000,
|
|
153
|
-
timeoutMs:
|
|
153
|
+
timeoutMs: 600_000,
|
|
154
154
|
},
|
|
155
155
|
});
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
+
Model review, repository planning, and concern rewrite calls default to a ten-minute
|
|
159
|
+
inference timeout. Explicit shorter budgets remain supported; ten minutes remains
|
|
160
|
+
the maximum model request timeout. These budgets do not extend the outer worker
|
|
161
|
+
review deadline.
|
|
162
|
+
|
|
158
163
|
Adversaries may add semantic validation that cannot be expressed by JSON Schema. The adversary
|
|
159
164
|
owns the domain rule; the SDK owns bounded regeneration, feedback, timeout accounting, and usage
|
|
160
165
|
aggregation:
|
|
@@ -203,7 +208,7 @@ const review = await ctx.model.review<EngineeringReview>({
|
|
|
203
208
|
},
|
|
204
209
|
budget: {
|
|
205
210
|
maximumOutputTokens: 6_000,
|
|
206
|
-
timeoutMs:
|
|
211
|
+
timeoutMs: 600_000,
|
|
207
212
|
},
|
|
208
213
|
});
|
|
209
214
|
```
|
package/dist/index.js
CHANGED
|
@@ -1139,7 +1139,7 @@ export const OPINION_CONCERN_REWRITE_SCHEMA = {
|
|
|
1139
1139
|
};
|
|
1140
1140
|
const DEFAULT_CONCERN_REWRITE_BUDGET = {
|
|
1141
1141
|
maximumOutputTokens: 128,
|
|
1142
|
-
timeoutMs:
|
|
1142
|
+
timeoutMs: 600_000,
|
|
1143
1143
|
};
|
|
1144
1144
|
/**
|
|
1145
1145
|
* Ensure `text` is a validated noun-phrase concern. Already-valid phrases pass
|