Inline Directives #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Inline directives would allow to change the behavior of which messages would be picked and/or how they would be changed to send to ChatGPT.
Inline directives should be typed in a comment-like notation in a single line, the system shouldn't care where in the text that comment with directive is. It should also remove that line with directive when querying OpenAI api.
Here are some directives that I came up:
gpt-ignore
- ignores the message completelygpt-ignore-past
- ignores all past messagesgpt-no-embed
- ignores the embed in the messagegpt-no-attachment
- ignores the attachment in the messagefor some directives (like
gpt-ignore-past
) it may have to check the message author permissions (here would bemanage_messages
) to activate the directive.