Class ImageGenerationConfig
java.lang.Object
com.github.copilot.rpc.ImageGenerationConfig
Experimental. This API may change or be removed in a future
release. Opt in to image generation through an authorized Copilot image
model. Omission disables on create/cold resume and preserves resident resume
state. Not persisted: re-supply after runtime restart. Policy, permissions,
offline mode, and tool filters still apply. BYOK image generation is not
supported.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the image generation opt-in.setEnabled(Boolean enabled) Enables or disables image generation.
-
Constructor Details
-
ImageGenerationConfig
public ImageGenerationConfig()
-
-
Method Details
-
getEnabled
Gets the image generation opt-in.- Returns:
- true to opt in, false to disable, or null when unset
-
setEnabled
Enables or disables image generation.- Parameters:
enabled- the opt-in, or null when unset- Returns:
- this config for method chaining
-