Skip to content

Commit

Permalink
fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierDehaene committed Dec 14, 2023
1 parent 6f93665 commit 1e14080
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions router/src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,15 +229,6 @@ impl Validation {
stop_sequences.len(),
));
}
for s in stop_sequences {
if s.chars().len() > 50 {
return Err(ValidationError::StopSequence(
self.max_stop_sequences,
stop_sequences.len(),
));

}
}

// If seed is None, assign a random one
let seed = match seed {
Expand Down

0 comments on commit 1e14080

Please sign in to comment.