monacopilot 0.9.33 → 0.9.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -137,6 +137,8 @@ There are other providers and models available. Here is a list:
|
|
|
137
137
|
|
|
138
138
|
You can use a custom AI model that isn't built into Monacopilot by setting up a `model` when you create a new Copilot. This feature lets you connect to AI models from other services or your own custom-built models.
|
|
139
139
|
|
|
140
|
+
Please make sure you are using a better model, especially for coding tasks, to get the best and most accurate completions. Also, use a model with very low response latency (I suggest at least under 1.5 s) to enjoy a great experience or utilize the full power of Monacopilot. Otherwise, you may experience poor performance or inaccurate completions.
|
|
141
|
+
|
|
140
142
|
#### Example
|
|
141
143
|
|
|
142
144
|
```javascript
|
|
@@ -175,8 +177,6 @@ const copilot = new Copilot(process.env.HUGGINGFACE_API_KEY, {
|
|
|
175
177
|
});
|
|
176
178
|
```
|
|
177
179
|
|
|
178
|
-
> Please make sure you are using a better model, especially for coding tasks, to get the best and most accurate completions. Otherwise, you may experience poor performance or inaccurate completions.
|
|
179
|
-
|
|
180
180
|
#### Configuration
|
|
181
181
|
|
|
182
182
|
The `model` option accepts an object with two functions:
|
|
@@ -329,7 +329,7 @@ registerCopilot(monaco, editor, {
|
|
|
329
329
|
|
|
330
330
|
[OnTyping Demo](https://github.com/user-attachments/assets/22c2ce44-334c-4963-b853-01b890b8e39f)
|
|
331
331
|
|
|
332
|
-
If you prefer real-time completions, you can set the `trigger` option to `'onTyping'`. This is
|
|
332
|
+
> **Note:** If you prefer real-time completions, you can set the `trigger` option to `'onTyping'`. This may increase the number of requests made to the provider and the cost. This is not too costly since most small models are very inexpensive.
|
|
333
333
|
|
|
334
334
|
### External Context
|
|
335
335
|
|