Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Robitx authored Jul 17, 2024
1 parent ed5387c commit a6eb46e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ The raw plugin text editing method `Prompt` has following signature:
---@param template string # template with model instructions
---@param prompt string | nil # nil for non interactive commads
---@param whisper string | nil # predefined input (e.g. obtained from Whisper)
---@param callback function | nil # callback(response) after completing the prompt
Prompt(params, target, agent, template, prompt, whisper)
```

Expand Down Expand Up @@ -909,3 +910,5 @@ Prompt(params, target, agent, template, prompt, whisper)
(`🤖 rewrite ~`, `🤖 popup ~`, `🤖 enew ~`, `🤖 inline ~`, etc.)
- `whisper`
- optional string serving as a default for input prompt (for example generated from speech by Whisper)
- `callback`
- optional callback function receiving the prompt response

0 comments on commit a6eb46e

Please sign in to comment.