Skip to content

Commit de053c6

Browse files
committed
remove whitespaces
1 parent 04b0a46 commit de053c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/server/server.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,7 @@ struct server_context {
21992199

22002200
if(slot.n_sent_text == 0 && slot.has_next_token && !slot.params.start_strings.empty())
22012201
{
2202-
size_t max_start_string_size = 0;
2202+
size_t max_start_string_size = 0;
22032203
for(auto start_string: slot.params.start_strings)
22042204
{
22052205
max_start_string_size = std::max(max_start_string_size, start_string.size());
@@ -2218,12 +2218,12 @@ struct server_context {
22182218
{
22192219
found_pos = slot.generated_text.find(start_string,search_pos);
22202220
if(found_pos != slot.generated_text.npos) {
2221-
found = true;
2221+
found = true;
22222222
found_string = start_string;
22232223
break;
22242224
}
22252225
}
2226-
2226+
22272227
if(found && slot.generated_text.size() > (found_pos + found_string.size()) ) {
22282228
slot.generated_text.erase(
22292229
slot.generated_text.begin(),

0 commit comments

Comments
 (0)