st.chat.authors_note.set
Set Author's Note overrides for the current chat by providing avatar, filename, and confirmation. Adjust text, depth, position, interval, role, and enabled state to control prompt injection.
Instructions
Set the current-chat Author's Note override fields in chat_metadata. Requires explicit avatar/fileName and confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| text | No | ||
| depth | No | ||
| force | No | ||
| avatar | Yes | ||
| confirm | No | ||
| enabled | No | ||
| fileName | Yes | ||
| interval | No | ||
| position | No | ||
| snapshotLabel | No |