Remove unused data and add fixes (#5154)
* Remove unused data and add fixes * Add missing file * Address review comments * Replace the scope of vq allocation
This commit is contained in:
parent
ec903c0341
commit
35a2ee9143
7 changed files with 3 additions and 6 deletions
|
@ -681,7 +681,7 @@ struct llama_server_context
|
|||
while ((pos = prompt.find(pattern, pos)) != std::string::npos) {
|
||||
size_t end_prefix = pos;
|
||||
pos += pattern.length();
|
||||
size_t end_pos = prompt.find("]", pos);
|
||||
size_t end_pos = prompt.find(']', pos);
|
||||
if (end_pos != std::string::npos)
|
||||
{
|
||||
std::string image_id = prompt.substr(pos, end_pos - pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue