Skip to content

Commit

Permalink
Set is_prompt=false
Browse files Browse the repository at this point in the history
  • Loading branch information
baijumeswani committed Dec 20, 2024
1 parent b0624a2 commit 71424c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models/input_ids.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ void DefaultInputIDs::Update(DeviceSpan<int32_t>& new_tokens) {
#endif
}

is_prompt_ = false;
state_.inputs_[input_index_] = value_.get();
return;
}
Expand Down

0 comments on commit 71424c5

Please sign in to comment.