Store the final answer
(self, shared, prep_res, exec_res)
| 390 | return "I encountered an error while generating the answer. Please try again or rephrase your question." |
| 391 | |
| 392 | def post(self, shared, prep_res, exec_res): |
| 393 | """Store the final answer""" |
| 394 | shared["final_answer"] = exec_res |
| 395 | if "progress_queue" in shared: |
| 396 | shared["progress_queue"].put_nowait("The final answer is ready!") |
| 397 | print(f"FINAL ANSWER: {exec_res}") |
nothing calls this directly
no outgoing calls
no test coverage detected