lifan0127 / ai-research-assistant

Aria is Your AI Research Assistant Powered by GPT Large Language Models
GNU Affero General Public License v3.0
794 stars 33 forks source link

Unable to install - not compatible with Z 6.0.30? #63

Open huachuman opened 7 months ago

huachuman commented 7 months ago

I keep getting the error that this addon may not be compatible with this version of zotero (6.0.30). I have tried restarting zotero to no effect.

DMax1314 commented 7 months ago

我也遇到了同样的问题

{
  "status": 404,
  "headers": {},
  "error": {
    "message": "The model `gpt-4-0613` does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.",
    "type": "invalid_request_error",
    "param": null,
    "code": "model_not_found"
  },
  "code": "model_not_found",
  "param": null,
  "type": "invalid_request_error",
  "attemptNumber": 1,
  "retriesLeft": 6,
  "name": "Error",
  "message": "404 The model `gpt-4-0613` does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.",
  "stack": "@resource://gre/modules/addons/XPIProvider.jsm -> jar:file://extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file://extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:830:19\n_APIError@resource://gre/modules/addons/XPIProvider.jsm -> jar:file://extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file://extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:38798:9\nnode_modules/openai/error.mjs/NotFoundError<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file://extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file://extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:38891:15\ngenerate@resource://gre/modules/addons/XPIProvider.jsm -> jar:file://extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file://extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:38835:18\nmakeStatusError@resource://gre/modules/addons/XPIProvider.jsm -> jar:file://extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file://extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:39618:16\nmakeRequest@resource://gre/modules/addons/XPIProvider.jsm -> jar:file://extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file://extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:39658:24\n"
}

哦 似乎是我个人的问题 我没有gpt4的api

lifan0127 commented 7 months ago

Hi @huachuman I understand your frustration. However I am not able to reproduce the issue across my three Zotero installations (Ubuntu and Windows).

As we have discussed earlier, this is most likely an upstream issue that is out of my control. Sorry. https://github.com/lifan0127/ai-research-assistant/issues/16

budoread commented 7 months ago

same problem here on a mac

lifan0127 commented 7 months ago

I built a version with manifest.json and install.rdf updated based on @huachuman 's suggestions.

If you can kindly test this build and let me know the outcome, that would be greatly appreciated.

Download this zip file and change the extension from ".zip" to ".xpi". Then proceed to install it in Zotero. aria-z6.zip