@kapeta/local-cluster-service 0.70.10 → 0.70.11
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/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [0.70.11](https://github.com/kapetacom/local-cluster-service/compare/v0.70.10...v0.70.11) (2024-09-12)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* CORE-3456 make the prompt shorter ([8292ccf](https://github.com/kapetacom/local-cluster-service/commit/8292ccf59213c2db606d23b573bea90e7e870ef3))
|
7
|
+
|
1
8
|
## [0.70.10](https://github.com/kapetacom/local-cluster-service/compare/v0.70.9...v0.70.10) (2024-09-12)
|
2
9
|
|
3
10
|
|
@@ -241,8 +241,7 @@ class PageQueue extends node_events_1.EventEmitter {
|
|
241
241
|
return;
|
242
242
|
}
|
243
243
|
this.images.set(prompt.url, prompt.description);
|
244
|
-
const
|
245
|
-
const result = await stormClient_1.stormClient.createImage(prefix + `Create an image for the url "${prompt.url}" with this description: ${prompt.description}`.trim());
|
244
|
+
const result = await stormClient_1.stormClient.createImage(`Create an image for the url "${prompt.url}" with this description: ${prompt.description}`.trim());
|
246
245
|
//console.log('Adding image prompt', prompt);
|
247
246
|
result.on('data', (event) => {
|
248
247
|
if (event.type === 'IMAGE') {
|
@@ -241,8 +241,7 @@ class PageQueue extends node_events_1.EventEmitter {
|
|
241
241
|
return;
|
242
242
|
}
|
243
243
|
this.images.set(prompt.url, prompt.description);
|
244
|
-
const
|
245
|
-
const result = await stormClient_1.stormClient.createImage(prefix + `Create an image for the url "${prompt.url}" with this description: ${prompt.description}`.trim());
|
244
|
+
const result = await stormClient_1.stormClient.createImage(`Create an image for the url "${prompt.url}" with this description: ${prompt.description}`.trim());
|
246
245
|
//console.log('Adding image prompt', prompt);
|
247
246
|
result.on('data', (event) => {
|
248
247
|
if (event.type === 'IMAGE') {
|
package/package.json
CHANGED
@@ -266,9 +266,8 @@ export class PageQueue extends EventEmitter {
|
|
266
266
|
}
|
267
267
|
|
268
268
|
this.images.set(prompt.url, prompt.description);
|
269
|
-
const prefix = this.getPrefix();
|
270
269
|
const result = await stormClient.createImage(
|
271
|
-
|
270
|
+
`Create an image for the url "${prompt.url}" with this description: ${prompt.description}`.trim()
|
272
271
|
);
|
273
272
|
|
274
273
|
//console.log('Adding image prompt', prompt);
|