How to make AI with self-hosted deployment of v0.20 work #10549
hnykda
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wasn't sure if I can make this work, but voila, it works. I am grateful for Affine and the team behind it, thanks a lot!
What I needed to do was to add this to the
affine.ts
, set theCOPILOT_OPENAI_API_KEY
env variable to my OpenAI API Key, and voila, it just works:in my specific case, I have a docker-compose deployment via coolify, so with this config:
and then the file where I added the above is under
./data/config/affine.js
Beta Was this translation helpful? Give feedback.
All reactions