Can the Agent Chat UI stream reasoning summaries and tool calls (e.g. from OpenAI built-in web search tool and custom tools)? I don’t see it streaming the reasoning summaries or OpenAI built-in web search tool calls; I only see it returning the the custom tool calls and regular output text messages. Minimal example code for concreteness of an example agent that would do reasoning, built-in tool calls, and custom tools calls:
import hashlib
from langchain.agents import create_agent
from langchain.tools import tool
from langchain_openai import ChatOpenAI
@tool
def sha256(text: str) -> str:
"""Return the SHA-256 hex digest of `text` (exact, deterministic)."""
return hashlib.sha256(text.encode("utf-8")).hexdigest()
# OpenAI built-in / server-side tool:
openai_web_search = {"type": "web_search_preview"}
llm = ChatOpenAI(
model="gpt-5.2",
use_responses_api=True, # optional, but makes intent explicit
temperature=0,
)
agent = create_agent(
llm,
tools=[openai_web_search, sha256],
system_prompt=(
"Use web search for up-to-date facts. "
"Use the sha256 tool for any hashing."
),
)
prompt = """
Do these steps in order:
1) Use web_search_preview to find the latest stable Python release version number from python.org.
2) Call sha256 on EXACTLY that version string (e.g. '3.13.1' — just the version number).
Return a JSON object with keys: version, sha256.
"""