| 118 | } |
| 119 | |
| 120 | std::string Phi4::generate_with_prompt(chat_meta_info_t& meta_info, lm_uniform_input_t& input, int length_limit, std::ostream& os) { |
| 121 | if (!this->insert(meta_info, input)) { |
| 122 | return ""; |
| 123 | } |
| 124 | return this->_shared_generate(meta_info, length_limit, os); |
| 125 | } |