@sembl/testing 0.2.1 → 0.3.0
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 +5 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -69,7 +69,11 @@ provider:
|
|
|
69
69
|
export { Listing as schema } from "./dist/schemas.js";
|
|
70
70
|
export const provider = new AnthropicProvider({ model: "claude-sonnet-5", apiKey: process.env.ANTHROPIC_API_KEY });
|
|
71
71
|
export const prices = { inputPerMTok: 3, outputPerMTok: 15 };
|
|
72
|
-
export const coerceOptions = {
|
|
72
|
+
export const coerceOptions = {
|
|
73
|
+
onInvalidField: "clamp",
|
|
74
|
+
maxInputChars: 40_000,
|
|
75
|
+
instructions: ["Guest counts exclude infants."],
|
|
76
|
+
};
|
|
73
77
|
```
|
|
74
78
|
|
|
75
79
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sembl/testing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Record/replay providers and an eval harness for SEMBL: deterministic tests and measurable prompt changes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"llm",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"provenance": true
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@sembl/core": "0.
|
|
56
|
+
"@sembl/core": "0.3.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^25.5.0",
|