| 2714 | |
| 2715 | AceStepPlannerPreparedInput prepare_phase2_unconditional_prompt( |
| 2716 | const AceStepTextTokenizer & tokenizer, |
| 2717 | const AceStepRequest & request, |
| 2718 | int64_t max_prompt_tokens) { |
| 2719 | std::string formatted = tokenizer.apply_chat_template( |
| 2720 | std::string("# Instruction\n") + kDefaultLmInstruction + "\n\n", |
| 2721 | normalized_negative_prompt(request), |
| 2722 | true); |
| 2723 | formatted += empty_cot_text() + "\n\n"; |
| 2724 | return {formatted, trim_to_valid_tokens(tokenizer.tokenize_text(formatted, max_prompt_tokens))}; |
| 2725 | } |
| 2726 | |
| 2727 | AceStepQwen3PlannerRuntime::AceStepQwen3PlannerRuntime( |
| 2728 | std::shared_ptr<const AceStepAssets> assets, |
nothing calls this directly
no test coverage detected