---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/generation/transformers_js/exceptions/variables/E_TRANSFORMERS_JS_GENERATION_UNSUPPORTED_OPERATION.md
description: >-
  Thrown when a caller invokes an operation this engine does not support —
  today, only `edit()`. Janus (`MultiModalityCausalLM.generate_images`) is
  text-conditioned image generation only; there is no image-conditioned
  edit/inpaint entry point in the installed `@huggingface/transformers` API
  surface. Fatal: the caller must not retry an operation the engine structurally
  cannot perform. Printf args: `[operation, reason]`.
---

# Variable: E\_TRANSFORMERS\_JS\_GENERATION\_UNSUPPORTED\_OPERATION

```ts
const E_TRANSFORMERS_JS_GENERATION_UNSUPPORTED_OPERATION: CreatedException<
  [string, string]
>;
```

Defined in: [src/batteries/generation/transformers\_js/exceptions.ts:52](https://github.com/NHTIO/ADK/blob/v1.20261103.0/src/src/batteries/generation/transformers_js/exceptions.ts#L52)

Thrown when a caller invokes an operation this engine does not support — today, only `edit()`.
Janus (`MultiModalityCausalLM.generate_images`) is text-conditioned image generation only; there is
no image-conditioned edit/inpaint entry point in the installed `@huggingface/transformers` API
surface. Fatal: the caller must not retry an operation the engine structurally cannot perform.
Printf args: `[operation, reason]`.
