auto-component 1.0.2 → 1.0.4
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 +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/auto-component)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/TimHuitt/
|
|
5
|
+
[](https://github.com/TimHuitt/auto-component)
|
|
6
6
|
|
|
7
7
|
[](https://auto-component.com)
|
package/lib/index.js
CHANGED
|
@@ -327,7 +327,7 @@ var AutoComponent = function AutoComponent() {
|
|
|
327
327
|
};
|
|
328
328
|
|
|
329
329
|
// build request tab content
|
|
330
|
-
var requestHTML =
|
|
330
|
+
var requestHTML = getLog() && getLog().join('') + "\nClick Generate to send a request and receive the auto component AI generated code.\n\nExample: \"Create a full width container, center a box inside, and place a circle inside the box\"\n\nUser ID:\n" + user + "\n\nUser Request:\n" + currentRequest;
|
|
331
331
|
var responseHtml = responseData ? responseData : 'No response has been generated';
|
|
332
332
|
var handleKeyDown = function handleKeyDown(e) {
|
|
333
333
|
if (e.key === 'Enter') {
|