We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98bc158 commit 8aa868bCopy full SHA for 8aa868b
omnibox_wizard/wizard/grimoire/agent/agent.py
@@ -637,6 +637,7 @@ async def astream(
637
:param agent_request: The request containing the user's query and tools to be used.
638
:return: An async iterable of ChatResponse objects.
639
"""
640
+ agent_request.
641
with tracer.start_as_current_span("agent.astream") as span:
642
span.set_attributes(
643
{
@@ -661,7 +662,12 @@ async def astream(
661
662
"search", get_merged_description(all_tools)
663
)
664
]
-
665
+ span.set_attributes(
666
+ {
667
+ "all_tools": f"{self.all_tools}",
668
+ "custom_tool_call": f"{self.custom_tool_call}"
669
+ }
670
+ )
671
assert all_tools, "all_tools must not be empty"
672
673
if self.custom_tool_call:
0 commit comments