We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74ebbeb commit 5e51520Copy full SHA for 5e51520
stagehand/src/index.ts
@@ -392,17 +392,12 @@ async function handleToolCall(
392
useTextExtract: true,
393
});
394
log(`Extraction result: ${JSON.stringify(data)}`, 'info');
395
- const extractedData = data.data;
396
return {
397
content: [
398
{
399
type: "text",
400
- text: `Extraction result: ${JSON.stringify(extractedData)}`,
401
- },
402
- {
403
- type: "text",
404
- text: `Operation logs:\n${operationLogs.join("\n")}`,
405
+ text: `Extraction result: ${JSON.stringify(data)}`,
+ }
406
],
407
isError: false,
408
};
0 commit comments