| 84 | |
| 85 | |
| 86 | std::string LFM2::generate(chat_meta_info_t& meta_info, int length_limit, std::ostream& os, std::function<bool()> is_cancelled) { |
| 87 | return this->_shared_generate(meta_info, length_limit, os, is_cancelled); |
| 88 | } |
| 89 | |
| 90 | std::string LFM2::generate_with_prompt(chat_meta_info_t& meta_info, lm_uniform_input_t& input, int length_limit, std::ostream& os) { |
| 91 | if (!this->insert(meta_info, input)) { |
no test coverage detected