#15530·AFFiNE

[Bug]: AI BYOK - unable to configure, connection failed

Author: jostrasserCreated Aug 26, 2026Updated Sep 14, 2026

What happened?

I am unable to configure AI BYOK:

config.yjson:

{
  "copilot": {
    "enabled": true,
    "byok": {
      "enabled": true
    }
  }
}

The issue occurs on all AI models (Gemini, OpenAI and Anthropic)

Distribution version

Linux

App Version

0.27.4

What browsers are you seeing the problem on if you're using web version?

Chrome

Are you self-hosting?

  • Yes

Self-hosting Version

0.27.4

Relevant log output

no errors in the logs

Anything else?

No response

Is your content generated by AI?

  • I confirm that the content I submitted was not generated by AI / merely contained minimal AI edits.