correct fail fast exceptino wording

This commit is contained in:
Tao Chen
2026-06-30 09:05:47 -07:00
parent 3ad2cc630f
commit 8f33e88dfc
@@ -531,8 +531,8 @@ class ResponsesHostServer(ResponsesAgentServerHost):
if self.config.is_hosted and context.platform_context.call_id is None:
raise RuntimeError(
"The hosted environment is running on protocol 1.0.0, but the agent requires protocol 2.0.0. "
"Please upgrade your agent protocol to 2.0.0 in `agent.manifest.yaml` or `agent.yaml`, or use "
"an downgrade the `agent-framework-foundry-hosting` package to `1.0.0a260625` or before to use 1.0.0."
"Please upgrade your agent protocol to 2.0.0 in `agent.manifest.yaml` or `agent.yaml`, or "
"downgrade the `agent-framework-foundry-hosting` package to `1.0.0a260625` or before to use 1.0.0."
)
if self._is_workflow_agent: