AIGatewayApplyOptions
typedef
Properties
aiSource : AIOperationSource | undefinedmodule:ai/aicore/aigateway~AIGatewayApplyOptions#aiSourceAI source identifier stamped on every operation produced for this run.
Defaults to
'api'.Note that when
applyMethodis'suggest', every created suggestion also receives the@aiattribute with the same identifier. The track changes plugin uses this attribute to display the suggestion as AI-generated.module:ai/aicore/aigateway~AIGatewayApplyOptions#applyMethodHow AI run changes are applied to the editor content.
With
'insert'the changes are written directly into the editor content. With'suggest'they are wrapped as track-changes suggestions — this requires theTrackChangesplugin to be loaded on the editor.
Value
object