MCPcopy Create free account
hub / github.com/IBM/AssetOpsBench / print_answer

Function print_answer

src/agent/_cli_common.py:111–117  ·  view source on GitHub ↗

Print the final answer section.

(answer: str)

Source from the content-addressed store, hash-verified

109
110
111def print_answer(answer: str) -> None:
112 """Print the final answer section."""
113 print(f"\n{HR}")
114 print(" Answer")
115 print(HR)
116 print(answer)
117 print()
118
119
120def print_result(result, *, show_trajectory: bool, output_json: bool) -> None:

Callers 1

print_resultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected