Replies: 7 comments 8 replies
-
Can I enable the AI in an unofficial way now in my instance?The answer is yes. Steps for those using provided compose file:1. create a JSON config at
{
"$schema": "https://github.com/toeverything/affine/releases/latest/download/config.schema.json",
"copilot": {
"enabled": true,
"providers.openai": {
"apiKey": "your key",
"baseUrl": "open-ai-compatitable.example.com"
}
}
} 2. restart your host docker compose up -d Steps for custom deployment:1. create a JSON config {
"$schema": "https://github.com/toeverything/affine/releases/latest/download/config.schema.json",
"copilot": {
"enabled": true,
"providers.openai": {
"apiKey": "your key",
}
}
} 2. Mount or Copy the config file to your instance 3. import the config node --import ./scripts/register.js ./dist/data/index.js import-config ./path/to/config.json 4. restart your host |
Beta Was this translation helpful? Give feedback.
-
How can I configure DeepSeek? How to set up the model. Moreover, in the 0.21.2 management panel, the AI function cannot be activated. |
Beta Was this translation helpful? Give feedback.
-
Hello! Thanks for the tips for selfhosted instance Will there be AI support for local workspace? |
Beta Was this translation helpful? Give feedback.
-
好像仍然有10次的使用限制,我使用自己的 API key 进行配置,并在openrouter后台看到了使用记录,但是affine中的AI仍然只能使用10次 |
Beta Was this translation helpful? Give feedback.
-
I created for myself a small server between Affine and Gemini or OpenRouter, who provides free API keys. Not sure if this allowed here in this chat. |
Beta Was this translation helpful? Give feedback.
-
Since recently, I get this error message when trying to use it:
My relevant {
"$schema": "https://github.com/toeverything/affine/releases/latest/download/config.schema.json",
"server": {
"name": "myname",
"host": "affine.myname.de",
"https": true
},
"copilot": {
"enabled": true,
"providers.openai": {
"apiKey": "sk-proj-...",
}
}
} Any ideas? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Progress
Beta Was this translation helpful? Give feedback.
All reactions