UneloraDocs
Agent engines

Engine troubleshooting

Fix missing CLIs, failed authentication, model errors, and path differences.

“CLI not found”

  1. Open a terminal and run the CLI directly.
  2. Confirm the command is an executable, not only a shell alias or function.
  3. Restart Unelora after installation.
  4. Set the exact executable in Settings → AI → Providers if automatic detection still fails.

Desktop applications often inherit a different environment than a terminal. This is common on Windows shortcuts, macOS Finder launches, and Linux application menus.

Authentication failures

Run the provider's own status or login command in a terminal. Unelora uses the CLI's authenticated session; installing the binary alone is not enough.

A 401 Unauthorized response from api.openai.com means the launched Codex process did not receive valid authentication. Confirm codex login status, sign in again if needed, then restart Unelora. Do not paste a ChatGPT password into Unelora.

A selected model fails

  • Refresh the model picker after updating the CLI.
  • Choose a model actually available to that provider account.
  • Confirm a custom wrapper forwards the model argument and preserves the provider's expected environment.
  • Try the provider CLI directly with the same model to separate an account problem from a Unelora integration problem.

Codex sandbox mismatch

Unelora preserves Codex's resolved network and writable-folder settings when starting a turn. If Codex returns no resolved sandbox or a different mode from the one requested, the turn stops before sending your message. Check the native Codex sandbox setup and selected access mode, then retry. Unelora does not silently replace that policy with broader access.

Old Unelora conversations in ChatGPT or Codex

If your history contains entries titled “Context from Unelora…”, they may be from an older Unelora setup. Codex session isolation applies to new sessions where Unelora can use a separate Codex home. It leaves existing history in place, and Unelora has no bulk cleanup tool for it.

  1. Open ChatGPT or Codex in the account and workspace where the entries appear. Use “Context from Unelora” to find candidates.
  2. Open each candidate and check its date and messages against your Unelora activity. A matching title alone is insufficient. Leave any chat whose origin is unclear or that you still use.
  3. In the ChatGPT web sidebar, open that chat's ••• menu and choose Archive. In the desktop app's Codex history sidebar, hover over the chat and choose Archive chat. If Codex says archiving will stop running work or remove a scheduled task, leave that chat in place.
  4. To restore an entry, open Settings → Archived chats in the app where you archived it and choose Unarchive.

Archive entries one at a time so your personal chats stay in the sidebar. OpenAI documents both flows in Archiving ChatGPT chats and Archiving Codex chats.

Review a generated soundtrack in a Codex chat

In an ordinary Codex conversation, Unelora sends text and images to Codex. A WAV or MP3 attachment reaches the conversation as a file reference. An attached MP4 can also provide sampled stills when ffmpeg and ffprobe are available to the server. This integration sends no audio track to Codex for listening. Browser playback is for the person watching, and changing codecs or choosing a different Codex model does not add audio input to this chat path.

  1. Ask the bot to share the final export in the chat with attach_file if it has that tool. Otherwise, open the export from the folder where the bot saved it.
  2. Play the attachment in chat, or download it and play it locally. Listen to the final mix for pronunciation, pacing, expression and the balance between narration and background sound.
  3. Give the bot timestamps and notes for any changes. It can also check captions, sampled frames, duration and audio levels when it has the necessary files and tools. Use those checks to guide the listening review.

A turn sends nothing back for a while

This is the first-reply rescue, and it applies to every engine. A turn whose AI has sent nothing at all — no text, thinking, tool call or progress — twenty seconds after it started gets one quiet notice in its chat:

Unelora hasn't heard back from OpenCode yet.

It carries two buttons. Switch AI opens this bot's model picker for that turn, so the turn can move to another AI without retyping the message; the waiting turn keeps running until a pick is made. Connect your subscription opens Settings → Agent engines, for signing in with a plan you already pay for instead of an API key.

The notice settles into OpenCode answered after a slow start once the AI says anything, and turns into history (Unelora didn't hear back from OpenCode) with no live buttons when the turn ends without an answer. Waiting for a computer pauses the clock, and turns nobody watches live (a routine run) get no notice.

Most silent starts are one of: the CLI is not signed in on that engine, the model is not in the account's plan, or the provider is slow. Check the engine in a terminal first (see above), then use Switch AI to keep working meanwhile.

OMB_FIRST_REPLY_NOTICE_MS on the server changes the twenty seconds; 0 turns the notice off.

Windows notes

Use a real .exe, .cmd, or resolvable command path in the engine override. If a CLI was installed in WSL, the Windows desktop app cannot treat that Linux binary as a native Windows executable without an explicit bridge or wrapper.

On this page