remove urls when tracking think action (#84)

This commit is contained in:
Sha Zhou 2025-03-18 14:14:23 +08:00 committed by GitHub
parent 492f879ef1
commit 25e012d917
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ export class ActionTracker extends EventEmitter {
if (lang) {
think = getI18nText(think, lang, params);
}
this.state = {...this.state, thisStep: {...this.state.thisStep, think}};
this.state = {...this.state, thisStep: {...this.state.thisStep, URLTargets: [], think} as StepAction};
this.emit('action', this.state.thisStep);
}