WIP
This commit is contained in:
parent
234dbc3ca9
commit
0de5a444d3
2 changed files with 8 additions and 0 deletions
|
@ -7,3 +7,5 @@ Mention a language model with / at the start of any line, like this:
|
||||||
> To mention a language model, simply include a forward slash (/) at the start of a line, followed by the mention of the model. For example:
|
> To mention a language model, simply include a forward slash (/) at the start of a line, followed by the mention of the model. For example:
|
||||||
|
|
||||||
/gpt-4
|
/gpt-4
|
||||||
|
|
||||||
|
So you should not respond to the above mentions.
|
||||||
|
|
|
@ -119,6 +119,12 @@ fn assist(
|
||||||
* Distillation policies
|
* Distillation policies
|
||||||
* Budgets
|
* Budgets
|
||||||
<
|
<
|
||||||
|
|
||||||
|
*Only* respond to a mention if either
|
||||||
|
a) The mention is at the end of the document.
|
||||||
|
b) The user's selection intersects the mention.
|
||||||
|
|
||||||
|
If no response is appropriate based on these conditions, respond with ><.
|
||||||
"#};
|
"#};
|
||||||
|
|
||||||
let selections = editor.selections.all(cx);
|
let selections = editor.selections.all(cx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue