We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf6f4b commit a29a422Copy full SHA for a29a422
1 file changed
WDoc/WDoc.py
@@ -1753,7 +1753,10 @@ def source_replace(input: str) -> str:
1753
md_printer(source_replace(to_print))
1754
1755
# print the final answer
1756
- md_printer(indent(f"# Answer:\n{source_replace(output['final_answer'])}\n", "> "))
+ fa = thinking_answer_parser(output["final_answer"])
1757
+ fa = "### Thinking:\n" + fa["thinking"] + "\n\n" + "### Answer:\n" + fa["answer"]
1758
+ fa = source_replace(fa)
1759
+ md_printer(indent(f"# Answer:\n{fa}\n", "> "))
1760
1761
# print the breakdown of documents used and chain time
1762
red(
0 commit comments