Skip to content

Engines

An engine is what writes AI text: Copilot summaries and drafts, written answers on the ticket form and automatic replies. The help desk uses one engine at a time, chosen under AI Agent → Settings → Engine & key. Suggested articles and past replies don’t need an engine at all.

The Engine & key tab: Zywrap marked Recommended with its Key box, Anthropic with its Model menu and Key, Local model with Address, Model name and Give up after, then the Save engine and Test connection buttons.

Engine Lane Who runs it Cost
Zywrap (Recommended) Hosted model JS Help Desk’s own hosted engine Drawn from the allowance that comes with your licence
Anthropic Hosted model Anthropic, with your own key Billed to your Anthropic account
Local model Local model You, on your own hardware No per-token cost

An engine is only used when its lane is switched on under What AI may do. A new install uses Zywrap until you choose otherwise. The chosen engine is marked In use when it works, or Chosen, not working when it still lacks a key, an address or an open lane.

Zywrap is the default engine. The request goes from your site to api.zywrap.com.

What it needs: a Zywrap key in the Key box. The hint under the box reads Issued with your JS Help Desk licence., with a Get a free Zywrap key link to zywrap.com. Until a key is stored, Zywrap cannot answer.

There is no model to choose. When Zywrap’s response says how many tokens a run used, Usage & Cost records them; when it doesn’t, the run is recorded with its tokens not reported rather than as zero.

With a Zywrap key stored, two more tabs appear under Usage & Cost: Zywrap requests and Zywrap errors.

  1. On Engine & key, select the engine and fill in what it needs.
  2. If its lane is off, the engine’s card has a box, Also switch on the “Local model” lane when I save with this engine chosen (named after its lane). Tick it to open that lane, and nothing else, as you save; it is already ticked for the engine currently chosen. Or switch the lane on yourself under What AI may do and click Save switches.
  3. Click Save engine.
  4. Click Test connection.

Each engine keeps its own key, so switching from Anthropic to a local model and back does not lose your Anthropic key. A key box left empty always means “keep what is stored”; the screen never shows a stored key back to you. To delete a key, click Forget it under its box.

If you save an engine whose lane is still off, the screen says “Saved, but nothing will be sent yet: the Hosted model lane is switched off. Tick “Also switch on” beside the engine, or switch it on under What AI may do.” Every engine change is recorded in the Audit journal.

Test connection asks the chosen engine to reply with one word, through the same path a real answer takes, including the lane check and redaction. The result is shown at the top of the screen and on the card:

  • Answered in 412 ms and a Last test line with the reply, the engine and how long ago.
  • Last test failed and the reason.

The test is a real request, so it is counted on Usage & Cost.

Message What to do
AI is switched off for this site. Tick Allow this help desk to use AI.
Hosted model is switched off for this site. (or Local model) Tick that lane under What AI may do.
No AI key is set up yet. Add one on the AI Agent screen. Enter a key for Zywrap or Anthropic.
No local model is set up yet. Add its address and model name on the AI Agent screen. Fill in Address and Model name.
The AI provider rejected the key. The key is wrong or revoked. Enter it again.
The provider does not offer the model this is set to use. Pick another Model.
The AI provider is rate limiting this site. Wait a moment and try again.
The AI provider is unavailable right now. The provider is down or overloaded. Nothing was changed; try again shortly.
Could not reach the AI provider: … Your server could not connect at all. On shared hosting this is usually outbound HTTPS being blocked.
Could not reach the local model: … The model server is not running, or not reachable from the web server.
The local model returned nothing. Check the Model name matches a model your server has loaded.
The model declined to answer this one. Anthropic’s model refused the request. Nothing was written.
The Zywrap engine returned nothing. Details are under System → System Errors.