Skip to content

Troubleshoot the Flow Assistant

Fixes for the AI flow assistant. For setup and runtime problems elsewhere, see Troubleshooting.

The assistant asks me to connect a provider

The assistant needs one enabled API key marked In use.

  1. Open Connections → Assistant API keys.
  2. Add a key, or select an existing one.
  3. Check that Enabled is on.

If you disable or remove the key in use, no key is selected, and Ciaren does not pick another for you. If the server is configured through the environment, the key must be present and CIAREN_ASSISTANT_ENABLED must not be false. The status check never contacts the provider, so a configured key can still be rejected later.

"Add API key" is disabled

Saved keys live in the OS keychain of the computer that runs Ciaren. The button is disabled, with a note, when Ciaren finds no supported keychain (Windows Credential Manager, macOS Keychain, or Secret Service). Unlock the keychain and reload the page. On a headless server or container, configure the key with an environment variable or a mounted file instead. See server-managed keys.

The assistant fails with a keychain or provider error

MessageMeaning and fix
"The OS keychain is unavailable"The keychain is locked or was removed. Unlock it and retry
"The assistant's API key is missing"The keychain entry, or the server's key source, no longer holds a key. Add it again
"Provider returned HTTP 401" or "403"The provider rejected the key
Other 4xx codesThe model name or quota. A model you typed must exist at the provider and support tool calling

Ciaren never retries a provider call. Choose Regenerate to try again.

"Save your changes first" or "Proposal expired"

The assistant reads the saved flow, never the unsaved canvas. Choose Save and send, or save the canvas and send the request again.

A proposal expires three minutes after it appears. It also cannot be applied if the flow or one of its input versions changed, or if the assistant was turned off in the meantime. Generate a new proposal. If another tab saved the flow, reload the editor and keep your local work first.

"This model cannot edit flows" or a request is declined

Charts, machine learning, and most multi-step flows need a model with tool calling. The listed OpenAI, Anthropic, DeepSeek, Google Gemini, and AWS Bedrock models qualify. The listed OpenCode Console models use guided plans in Ciaren. Choose another key in Connections.

Other replies are explanations, not errors:

  • The assistant was not confident asks for a more specific request.
  • The proposal did not pass checks means a draft failed validation and nothing was proposed.
  • Too many steps for one request means you should split the request into smaller changes.
  • A draft marked this draft was not checked ran out of steps, time, or provider connection. Review it with extra care.

"Request budget used up"

Each application process allows 60 provider calls per rolling hour by default, and one complex Build can use up to 14. Wait for the window to pass, or raise CIAREN_ASSISTANT_TURNS_PER_HOUR and restart.

"Another assistant turn is active" appears when eight requests are already running in the process, or the same request is repeated. Wait a moment and send it again.

Diagnose says there is no failed run

Diagnose explains the latest failed run of the flow. When a run succeeded but the result is wrong, such as rows missing after a Join, describe the change you want in Build instead. Diagnose proposes a fix only for an inner Join that drops left rows and for simple cleaning flows. For other failures it names the failing node and the next step. When a column is missing, Use column fills in a Build request for that node.