make prompt formatter unique ptr

This commit is contained in:
Aaron Po
2026-04-18 18:10:38 -04:00
parent 49f4ed6787
commit 88527f7709
2 changed files with 14 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ class LlamaGenerator final : public DataGenerator {
std::mt19937 rng_;
uint32_t n_ctx_ = kDefaultContextSize;
std::string brewery_system_prompt_;
std::shared_ptr<IPromptFormatter> prompt_formatter_;
std::unique_ptr<IPromptFormatter> prompt_formatter_;
};
#endif // BIERGARTEN_PIPELINE_INCLUDES_DATA_GENERATION_LLAMA_GENERATOR_H_