Spaces:
Running
Running
Update presentation_api.py
Browse files- presentation_api.py +1 -0
presentation_api.py
CHANGED
@@ -89,6 +89,7 @@ def state_modifier(state) -> list[BaseMessage]:
|
|
89 |
formatted_prompt = prompt.invoke({
|
90 |
"messages": state["messages"]
|
91 |
})
|
|
|
92 |
return trim_messages(
|
93 |
formatted_prompt,
|
94 |
token_counter=len,
|
|
|
89 |
formatted_prompt = prompt.invoke({
|
90 |
"messages": state["messages"]
|
91 |
})
|
92 |
+
print(state["messages"])
|
93 |
return trim_messages(
|
94 |
formatted_prompt,
|
95 |
token_counter=len,
|