Update app.py
Browse files
app.py
CHANGED
|
@@ -141,6 +141,7 @@ class AgentState(TypedDict):
|
|
| 141 |
messages: Annotated[list[AnyMessage], add_messages]
|
| 142 |
proposed_action: str
|
| 143 |
information: str
|
|
|
|
| 144 |
output: str
|
| 145 |
confidence: float
|
| 146 |
judge_explanation: str
|
|
@@ -547,6 +548,8 @@ Information:
|
|
| 547 |
raw_output = reasoning_generate(prompt)
|
| 548 |
# raw_output = generate(prompt)
|
| 549 |
|
|
|
|
|
|
|
| 550 |
logger.info(f"Raw Output: {raw_output}")
|
| 551 |
|
| 552 |
# output = raw_output.split("Response:")[-1].strip()
|
|
|
|
| 141 |
messages: Annotated[list[AnyMessage], add_messages]
|
| 142 |
proposed_action: str
|
| 143 |
information: str
|
| 144 |
+
raw_output: str
|
| 145 |
output: str
|
| 146 |
confidence: float
|
| 147 |
judge_explanation: str
|
|
|
|
| 548 |
raw_output = reasoning_generate(prompt)
|
| 549 |
# raw_output = generate(prompt)
|
| 550 |
|
| 551 |
+
state["raw_output"] = raw_output
|
| 552 |
+
|
| 553 |
logger.info(f"Raw Output: {raw_output}")
|
| 554 |
|
| 555 |
# output = raw_output.split("Response:")[-1].strip()
|