-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not enable copilot plugin, only produces errors #9417
Comments
I also have this problem. Also as someone suggested i tried using legacy user API key and project API key. |
find out the datebase model has change to gpt-4o-2024-08-06 and gpt-4o-mini-2024-07-18, that cause custem api can not located the current AI model. hope can add some way custem AI model name. |
+1 |
the same problem here |
Hopefully not, As I have no existing legacy keys remaining, it appears I am no longer capable of generating new keys. Relevant link to the discussions |
Somewhere else I read they are doing an overhaul with the AI. Hopefully this is a quick fix and we don't have to wait for the AI improvements which are coming. |
Seems to be fixed in the coming release. Great, eager to try it |
🤞🏻 |
confirming this is working again! |
fixed in 0.19.5, guys |
What happened?
Problem Overview:
I followed the guild https://docs.affine.pro/docs/self-host-affine, and noted that the AI features are not working. After some digging and searching I found that there are undocumented requirements that I'm finding difficult to resolve. I've tried to solve this myself in piecemeal, but I suspect I'm missing some more fundamental requirements.
Actual Results:
Whenver I invoke the AI Chat, I see the following errors in the logs:
I believe at the root of the problem, I'm not even enabling the copilot plugin correctly, I see no indications in the affine_server startup that indicates copilot or openai is being loaded/initialized.
I've modified my local
~/.affine/self-host/config/affine.js
like so (key scrubbed)And "restarted" the stack of software with
docker compose down
anddocker compose up -d
to restart.I've also tried providing the API key using the
.env
file, restarting the stack of software same as above, but still no changes.The result is always the same UI error, at best. However, many of the AI features produce no visible user errors or warnings.
Expected Results
Hopefully a functional set of AI chat and other features..
Distribution version
macOS x64 (Intel)
What browsers are you seeing the problem on if you're using web version?
No response
Are you self-hosting?
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: