Hello, I'm using Anthropic as a llm for my ReAct agent, with verbose=False to the agent and its query engine tools. However, streaming responses include tags from the default prompt template.
I only need the Action part streamed out. Please let me know if I forgot to set any attributes. Many thanks!
ReactAgent.from_tools(
tools=query_engine_tools,
llm=main_llm, memory=memory,
system_prompt=updated_default_system_prompt,
verbose=False,
)
QueryEngineTool(
query_engine=user_guide_index.as_query_engine(
verbose=False,
similarity_top_k=1,
service_context=ServiceContext.from_service_context(
default_service_context,
llm=sub_llm,
prompt_helper=PromptHelper(chunk_size_limit=720),
),
response_mode='compact',
use_async=True,
),
metadata=ToolMetadata(
name='u_query',
description='...'
)
)