openclaw - 💡(How to fix) Fix [Bug]: StepFun (stepfun-plan) plugin does not register image generation provider — image_generate silently fails [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

The StepFun plugin (extensions/stepfun/provider-catalog.ts) registers itself only as a text model provider via api.registerProvider(), but never calls api.registerImageGenerationProvider(). As a result, when users configure imageGenerationModel.primary: "stepfun-plan/step-image-edit-2", the image_generate tool silently fails because getImageGenerationProvider("stepfun-plan", cfg) returns undefined.

Root Cause

The StepFun plugin (extensions/stepfun/provider-catalog.ts) registers itself only as a text model provider via api.registerProvider(), but never calls api.registerImageGenerationProvider(). As a result, when users configure imageGenerationModel.primary: "stepfun-plan/step-image-edit-2", the image_generate tool silently fails because getImageGenerationProvider("stepfun-plan", cfg) returns undefined.

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

The StepFun plugin (extensions/stepfun/provider-catalog.ts) registers itself only as a text model provider via api.registerProvider(), but never calls api.registerImageGenerationProvider(). As a result, when users configure imageGenerationModel.primary: "stepfun-plan/step-image-edit-2", the image_generate tool silently fails because getImageGenerationProvider("stepfun-plan", cfg) returns undefined.

Steps to reproduce

1.Configure StepFun API keys and provider 2.Set imageGenerationModel.primary: "stepfun-plan/step-image-edit-2" 3.Call image_generate — task starts (returns task ID) but never completes 4.Background image generation task fails silently

Expected behavior

StepFun does have image generation API endpoints (e.g. /step_plan/v1/images/generations for step-image-edit-2). The plugin should register itself as an image generation provider so that image_generate can route requests to it.

Actual behavior

In extensions/stepfun/provider-catalog.ts, the register() method does: api.registerProvider({ id: "stepfun", ... }); api.registerProvider({ id: "stepfun-plan", ... });

But never calls: api.registerImageGenerationProvider({ id: "stepfun-plan", ... }); The list of registered image generation providers in OpenClaw includes: openai, google, deepinfra, xai, litellm, vydra, comfy, minimax, openrouter — but not stepfun or stepfun-plan.

OpenClaw version

2026.5.20 (e510042)

Operating system

Windows/centos8

Install method

No response

Model

stepfun-plan/step-image-edit-2

Provider / routing chain

openclaw stepfun-plan/step-image-edit-2

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

Register an image generation provider in the StepFun plugin's register() method, mapping the appropriate StepFun models (step-image-edit-2, etc.) to the StepFun image generation API endpoints.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

StepFun does have image generation API endpoints (e.g. /step_plan/v1/images/generations for step-image-edit-2). The plugin should register itself as an image generation provider so that image_generate can route requests to it.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING