@empiricalrun/test-gen 0.38.30 → 0.38.32
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/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-hints.d.ts","sourceRoot":"","sources":["../../../src/agent/master/with-hints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,MAAM,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"with-hints.d.ts","sourceRoot":"","sources":["../../../src/agent/master/with-hints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAU5B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,0BAA0B;iBAMxB,OAAO,8BAA8B;;oBAElC,MAAM;6BACG,MAAM;MAC7B,MAAM,GAAG,OAAO,yBAAyB,EAiC5C,CAAC;AAEF,eAAO,MAAM,gBAAgB;6BAOF;QACvB,MAAM,EAAE,MAAM,CAAC;QACf,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B;0BACqB,OAAO,MAAM,EAAE,GAAG,CAAC;UACnC,WAAW;SACZ,GAAG;;MAEN,QAAQ;IACV,sBAAsB,EAAE,OAAO,CAAC;IAChC,wBAAwB,EAAE,OAAO,qBAAqB,GAAG,SAAS,CAAC;CACpE,CA0GA,CAAC"}
|
|
@@ -86,8 +86,8 @@ const triggerHintsFlow = async ({ outputFromGetNextAction, generatedAnnotations,
|
|
|
86
86
|
],
|
|
87
87
|
tools: actions.getBrowsingActionSchemas(),
|
|
88
88
|
modelParameters: {
|
|
89
|
-
temperature:
|
|
90
|
-
max_completion_tokens:
|
|
89
|
+
temperature: constants_1.DEFAULT_MODEL_PARAMETERS.temperature,
|
|
90
|
+
max_completion_tokens: constants_1.DEFAULT_MODEL_PARAMETERS.max_completion_tokens,
|
|
91
91
|
tool_choice: "required",
|
|
92
92
|
},
|
|
93
93
|
trace,
|
package/dist/constants/index.js
CHANGED
|
@@ -10,7 +10,7 @@ exports.DEFAULT_MODEL_PROVIDER = "openai";
|
|
|
10
10
|
exports.DEFAULT_MODEL = "gpt-4o";
|
|
11
11
|
exports.DEFAULT_MODEL_PARAMETERS = {
|
|
12
12
|
temperature: 0.5,
|
|
13
|
-
max_completion_tokens:
|
|
13
|
+
max_completion_tokens: 8000,
|
|
14
14
|
};
|
|
15
15
|
exports.DEFAULT_O1_MODEL_PARAMETERS = {
|
|
16
16
|
temperature: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAmBA,iBAAS,iBAAiB;;;;;EAOzB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,YAAY,EACZ,UAAU,EACV,eAAe,GAChB,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB,QAIA;AAED,wBAAsB,iBAAiB,qBAStC;AAED,wBAAsB,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAmBA,iBAAS,iBAAiB;;;;;EAOzB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,YAAY,EACZ,UAAU,EACV,eAAe,GAChB,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB,QAIA;AAED,wBAAsB,iBAAiB,qBAStC;AAED,wBAAsB,eAAe,0DA0BpC;AAED,wBAAsB,UAAU,kBAqB/B;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
package/dist/session/index.js
CHANGED
|
@@ -39,7 +39,10 @@ async function shouldStopSession() {
|
|
|
39
39
|
}
|
|
40
40
|
exports.shouldStopSession = shouldStopSession;
|
|
41
41
|
async function getSessionState() {
|
|
42
|
-
if
|
|
42
|
+
// if there is no dashboard domain to connect to or session details missing, then continue the generation session.
|
|
43
|
+
if (!DASHBOARD_DOMAIN ||
|
|
44
|
+
!sessionDetails.sessionId ||
|
|
45
|
+
!sessionDetails.generationId) {
|
|
43
46
|
return "started";
|
|
44
47
|
}
|
|
45
48
|
const apiPath = `${DASHBOARD_DOMAIN}/api/sessions/${sessionDetails.sessionId}/generations/${sessionDetails.generationId}/state`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empiricalrun/test-gen",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.32",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"tsx": "^4.16.2",
|
|
69
69
|
"typescript": "^5.3.3",
|
|
70
70
|
"@empiricalrun/llm": "^0.9.27",
|
|
71
|
-
"@empiricalrun/
|
|
72
|
-
"@empiricalrun/
|
|
71
|
+
"@empiricalrun/reporter": "^0.21.4",
|
|
72
|
+
"@empiricalrun/r2-uploader": "^0.3.7"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@types/detect-port": "^1.3.5",
|