@standardagents/builder 0.25.3 → 0.25.5
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/built-in-routes.js +2 -0
- package/dist/built-in-routes.js.map +1 -1
- package/dist/{index-BsS0cHzL.d.ts → index-CX9Ti98s.d.ts} +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +221 -0
- package/dist/index.js.map +1 -1
- package/dist/runtime.d.ts +22 -2
- package/dist/runtime.js +221 -0
- package/dist/runtime.js.map +1 -1
- package/dist/test.d.ts +1 -1
- package/package.json +5 -5
package/dist/built-in-routes.js
CHANGED
|
@@ -1594,6 +1594,7 @@ var init_LLMRequest = __esm({
|
|
|
1594
1594
|
attempts++;
|
|
1595
1595
|
try {
|
|
1596
1596
|
logId = await this.logRequest(state, actualModelId, context, modelDef, previousLogId);
|
|
1597
|
+
state.thread.instance.noteExecutionProgress?.();
|
|
1597
1598
|
state.emitTelemetry?.({
|
|
1598
1599
|
type: "llm_request",
|
|
1599
1600
|
model: actualModelId,
|
|
@@ -1860,6 +1861,7 @@ var init_LLMRequest = __esm({
|
|
|
1860
1861
|
}
|
|
1861
1862
|
if (next.done) break;
|
|
1862
1863
|
const chunk = next.value;
|
|
1864
|
+
state.thread.instance.noteExecutionProgress?.();
|
|
1863
1865
|
if (firstChunkAt === 0) {
|
|
1864
1866
|
firstChunkAt = Date.now();
|
|
1865
1867
|
emitLogPatch({ time_to_first_token_ms: firstChunkAt - requestSentAt });
|