Skip to content

Commit

Permalink
AI chat: Fix bots giving { replies when the llm is busy and does not …
Browse files Browse the repository at this point in the history
…return something with the startpattern.
  • Loading branch information
mostlikely4r committed Nov 28, 2024
1 parent 3850b56 commit 58ed441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playerbot/PlayerbotLLMInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ inline std::string extractAfterPattern(const std::string& content, const std::st
return content.substr(start_pos);
}
else {
return content;
return "";
}

}
Expand Down

0 comments on commit 58ed441

Please sign in to comment.