Skip to content

Commit c2d8cb1

Browse files
committed
rename hooks
1 parent cf0d810 commit c2d8cb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/q_chat/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,8 +2744,8 @@ impl ChatContext {
27442744

27452745
fn print_hook_section(output: &mut impl Write, hooks: &HashMap<String, Hook>, trigger: HookTrigger) -> Result<()> {
27462746
let section = match trigger {
2747-
HookTrigger::ConversationStart => "Conversation Start",
2748-
HookTrigger::PerPrompt => "Per Prompt",
2747+
HookTrigger::ConversationStart => "On Session Start",
2748+
HookTrigger::PerPrompt => "Per User Message",
27492749
};
27502750
let hooks: Vec<(&String, &Hook)> = hooks.iter().filter(|(_, h)| h.trigger == trigger).collect();
27512751

0 commit comments

Comments
 (0)