MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / get_user_gen_template

Function get_user_gen_template

src/config.rs:301–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299}
300
301pub fn get_user_gen_template() -> &'static str {
302 pub static GTEMPLATE: OnceCell<String> = OnceCell::new();
303 GTEMPLATE.get_or_init(|| {
304 let config = get_config();
305 let template = USER_GEN_TEMPLATE.to_string();
306 template.replace("{project}", &config.target)
307 })
308}
309
310pub fn get_user_chat_template() -> String {
311 let library_name = get_library_name();

Callers 1

get_user_chat_templateFunction · 0.85

Calls 1

get_configFunction · 0.85

Tested by

no test coverage detected