monacopilot 0.10.0 → 0.10.2
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 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,6 +37,8 @@ Here are some examples of how to integrate Monacopilot into your project:
|
|
|
37
37
|
|
|
38
38
|
## Inline Completions
|
|
39
39
|
|
|
40
|
+
Monacopilot provides inline completions, offering real-time, AI-powered, context-aware code suggestions as you type.
|
|
41
|
+
|
|
40
42
|
[Inline Completions Demo Video](https://github.com/user-attachments/assets/f2ec4ae1-f658-4002-af9c-c6b1bbad70d9)
|
|
41
43
|
|
|
42
44
|
### Installation
|
|
@@ -221,7 +223,7 @@ const copilot = new Copilot(process.env.HUGGINGFACE_API_KEY, {
|
|
|
221
223
|
},
|
|
222
224
|
},
|
|
223
225
|
}),
|
|
224
|
-
transformResponse: response => response[0].generated_text,
|
|
226
|
+
transformResponse: response => ({text: response[0].generated_text}),
|
|
225
227
|
},
|
|
226
228
|
});
|
|
227
229
|
```
|