Skip to content

Commit

Permalink
Ensuring we're always importing snippets with lists and hyperlinks
Browse files Browse the repository at this point in the history
Even when they're smaller than threshold
  • Loading branch information
polterguy committed Oct 9, 2023
1 parent 7999fa8 commit cbe9c86
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -446,11 +446,17 @@ slots.create:magic.ai.url.scrape
get-value:x:@.arguments/*/threshold
strings.starts-with:x:@.dp/#/*/completion
.:![
strings.contains:x:@.dp/#/*/completion
.:"* "
strings.contains:x:@.dp/#/*/completion
.:"1. "
strings.contains:x:@.dp/#/*/completion
.:"["
.lambda

/*
* Snippet is longer than minimum threshold for import, or snippet is
* an image.
* an image, contains list elements, or hyperlinks.
*
* Verifying user can create more snippets.
*
Expand Down

0 comments on commit cbe9c86

Please sign in to comment.