@arbidocs/sdk 0.3.133 → 0.3.134
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/browser.cjs +1 -1
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/browser.cjs
CHANGED
|
@@ -3833,7 +3833,7 @@ function formatAgentStepLabel(step, docNames) {
|
|
|
3833
3833
|
if (step.label) return `${step.label}${suffix}`;
|
|
3834
3834
|
const detail = step.detail;
|
|
3835
3835
|
if (step.step === "tool_progress" && detail && detail.length > 0) {
|
|
3836
|
-
const label = detail[0].label || humanizeStep(step.step);
|
|
3836
|
+
const label = detail[0].label || detail[0].tool && humanizeStep(detail[0].tool) || humanizeStep(step.step);
|
|
3837
3837
|
if (suffix) return `${label}${suffix}`;
|
|
3838
3838
|
const message = detail[0].message;
|
|
3839
3839
|
return message ? `${label}: ${resolveDocRefs(message, docNames)}` : label;
|