Replies: 8 comments 9 replies
-
|
Thank you for making it standardized across GPTs like Claude, OpenAI, Gemini, self hosted etc. By when can we expect the release in windows drawio editor? PS: I tried adding the config but the generate button doesn't show up in editor. |
Beta Was this translation helpful? Give feedback.
-
|
I tried adding the config but the generate button doesn't show up in editor. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, i'm using the drawio plugin 14.2.7 in Confluence (data center).
|
Beta Was this translation helpful? Give feedback.
-
|
I do not see any options to set Model configuration, is this feature disabled in the current version? Also, are there any chances of Generate option coming to desktop app? |
Beta Was this translation helpful? Give feedback.
-
|
I don't see dropdowns to select actions and models.. Do I need to add them in configuration? |
Beta Was this translation helpful? Give feedback.
-
|
tl;dr try this via Extras, Configuration: |
Beta Was this translation helpful? Give feedback.
-
|
I am trying to get the AI feature working with V29.6.6 downloaded as standalone version (free) on macOS with OpenRouter.ai My entry in Extras, Configuration: { I even enabled logging via But the sparkle button doesn't show up and I don't see any error or warning in logging regarding this. I also saw the documentation here: https://www.drawio.com/doc/faq/configure-ai-options |
Beta Was this translation helpful? Give feedback.
-
|
The AI feature works in Docker, but there are two things to configure: 1. Enable AI explicitly
{
"enableAi": true,
"gptApiKey": "sk-proj-..."
}In Docker, pass this via the 2. Update the Content Security Policy The Docker image sets a strict CSP that does not include the LLM API domains. Even with valid keys, the browser will silently block the requests. You need to override
Example docker-compose snippet: environment:
DRAWIO_CONFIG: '{"enableAi":true,"gptApiKey":"sk-proj-..."}'
DRAWIO_CSP_HEADER: "default-src 'self'; script-src 'self' https://storage.googleapis.com https://apis.google.com https://docs.google.com https://code.jquery.com 'unsafe-inline'; connect-src 'self' https://api.openai.com https://*.dropboxapi.com https://api.trello.com https://api.github.com https://raw.githubusercontent.com https://*.googleapis.com https://*.googleusercontent.com https://graph.microsoft.com https://*.1drv.com https://*.sharepoint.com https://gitlab.com https://*.google.com https://fonts.gstatic.com https://fonts.googleapis.com; img-src * data:; media-src * data:; font-src * about:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; frame-src 'self' https://*.google.com;"The CSP issue is the main reason the sparkle button may appear but API calls fail silently. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This topic has moved to https://www.drawio.com/doc/faq/configure-ai-options
Beta Was this translation helpful? Give feedback.
All reactions