Loading
ただいま大変多くのお問い合わせをいただいており、ご連絡までにお時間を頂戴しております続きを読む

Agentforce : NGA Agent Script Response Config Guide

公開日: Jun 15, 2026
説明

This article explains Agent Script configuration parameters available in the New Agent Builder that control how Agentforce agent responses are delivered and rendered. These configs are set under the Config block of the Agent Script.

解決策

Disable Streaming

Symptom

The agent streams its response token-by-token as it is generated. The final output looks different from what appeared on screen during generation. The user wants the agent to deliver a clean, complete response all at once instead of streaming progressively.

By default, Agentforce uses Server-Sent Events (SSE) to stream responses in real time. While this creates a fast, responsive feel, the LLM may revise or reformat content mid-stream, causing the displayed output to differ from the final result.
Streaming in NGA is disabled at the script level.

Resolution

Add the following parameter under the Config block in the Agent Script:

additional_parameter__disable_streaming: True

Important Notes

  • Disabling streaming will increase response latency. The user sees nothing until the full response is ready.


Disable Citation

Symptom

Citations appear in the agent response.

Citations must be disabled directly at the Agent Script layer.

Resolution

Add the following parameter under the Config block in the Agent Script:

additional_parameter__disable_citation: True

Important Notes

  • This suppresses citations at the script layer.


Adaptive Response

Symptom

The agent returns plain text responses. The user wants the agent to render richer formatted output such as buttons, selectable lists, rich text links, and structured cards in the chat UI.

Adaptive Response — the feature that controls output format richness — is not enabled by default in all agent configurations. It must be explicitly allowed in the Agent Script.
Note: Adaptive Response and Streaming are separate and often confused:

  • Streaming controls when the response is delivered (token-by-token vs. all at once).

  • Adaptive Response controls how the response is rendered (plain text vs. rich formatted output).

Resolution

Add the following parameter under the Config block in the Agent Script:

adaptive_response_allowed: True

Important Notes

  • Adaptive Response rendering depends on the surface/channel the agent is deployed on. Not all surfaces support all rich output types.

ナレッジ記事番号

005387148

 
読み込み中
Salesforce Help | Article