microsoft / vscode-prompt-tsx

MIT License
34 stars 1 forks source link

Add `internal` reference #118

Open mjbvz opened 2 weeks ago

mjbvz commented 2 weeks ago

References are needed for various parts of our tooling, such as generating links. However in some cases we don't want to show these references to the user, often because they are already implicitly included

This proposals adding a new .internal option on PromptReference. When set to true, our UI will not show the reference to the user but the reference will still be accessible to other tooling

mjbvz commented 2 weeks ago

If we don't feel this makes sense for the public library, we could also try extending PromptReference just for copilot