mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
add experimental for hooks
This commit is contained in:
parent
72c4c0384f
commit
35e11da11f
1 changed files with 8 additions and 0 deletions
|
|
@ -4,6 +4,14 @@
|
|||
|
||||
Qwen Code hooks provide a powerful mechanism for extending and customizing the behavior of the Qwen Code application. Hooks allow users to execute custom scripts or programs at specific points in the application lifecycle, such as before tool execution, after tool execution, at session start/end, and during other key events.
|
||||
|
||||
> **⚠️ EXPERIMENTAL FEATURE**
|
||||
>
|
||||
> Hooks are currently in an experimental stage. To enable hooks, start Qwen Code with the `--experimental-hooks` flag:
|
||||
>
|
||||
> ```bash
|
||||
> qwen --experimental-hooks
|
||||
> ```
|
||||
|
||||
## What are Hooks?
|
||||
|
||||
Hooks are user-defined scripts or programs that are automatically executed by Qwen Code at predefined points in the application flow. They allow users to:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue