Skip to content

Commit

Permalink
remove deprecated property data.text
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Joseph Petro committed Dec 14, 2024
1 parent 5e9afe9 commit 8373546
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions smart-blocks/smart_block.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ export class SmartBlock extends SmartEntity {
if (this.should_clear_embeddings(data)){
this.data.embeddings = {};
}
// if (!this.vec) this._embed_input += data.text; // Store text for embedding
// delete data.text; // Clear data.text to prevent saving text
super.update_data(data);
return true;
}
Expand Down

0 comments on commit 8373546

Please sign in to comment.