wirejs-deploy-amplify-basic 0.1.144-llm → 0.1.145-llm

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.
@@ -3,6 +3,6 @@
3
3
  "dependencies": {
4
4
  "jsdom": "^25.0.1",
5
5
  "wirejs-dom": "^1.0.42",
6
- "wirejs-resources": "^0.1.144-llm"
6
+ "wirejs-resources": "^0.1.145-llm"
7
7
  }
8
8
  }
@@ -132,6 +132,7 @@ export class LLM extends BaseLLM {
132
132
  const result = await this.invokeModel(model, history, onChunk);
133
133
  if (!result)
134
134
  throw new Error("No response from model.");
135
+ return result;
135
136
  }
136
137
  catch (error) {
137
138
  console.log(`Attempt failed with model: ${model}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wirejs-deploy-amplify-basic",
3
- "version": "0.1.144-llm",
3
+ "version": "0.1.145-llm",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -44,7 +44,7 @@
44
44
  "recursive-copy": "^2.0.14",
45
45
  "rimraf": "^6.0.1",
46
46
  "wirejs-dom": "^1.0.42",
47
- "wirejs-resources": "^0.1.144-llm"
47
+ "wirejs-resources": "^0.1.145-llm"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@aws-amplify/backend": "^1.14.0",