mirror of
https://github.com/SillyTavern/Extension-PromptInspector.git
synced 2026-10-15 13:31:52 +00:00
Adds an option to inspect and edit output prompts before sending them to the server.
- JavaScript 89.6%
- HTML 5.5%
- CSS 4.9%
| index.js | ||
| LICENSE | ||
| manifest.json | ||
| README.md | ||
| style.css | ||
| template.html | ||
Prompt Inspector
Adds an option to inspect and edit output prompts before sending them to the server.
Usage
- Make sure you're using SillyTavern 1.12.1 or later. The latest
stagingbranch is recommended. - Install via the built-in extension manager using the URL:
https://github.com/SillyTavern/Extension-PromptInspector - Find a new option in the wand menu to toggle the prompt inspector.
- Send any chat prompt to get a popup with the prompt data.
Remarks
- Chat Completion prompts should be a valid JSON-serialized array of objects. It represents the completion BEFORE applying backend-specific post-processing, i.e. any number of system messages, assistant message first, non-alternating roles, etc. are ALLOWED.
- Text Completion prompts can be any string that doesn't overflow the prompt length limit in tokens. Go wild!
- Pressing "Cancel" discards any changes, but doesn't cancel the request.
- Pressing "OK" sends the modified prompt to the server. Modified prompts are ephemeral and not saved.
License
AGPL-3.0