Skip to content

Commit ea76502

Browse files
Adam BaloghAdam Balogh
authored andcommitted
history
1 parent 4827590 commit ea76502

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

server/server.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,10 @@ def submit_feedback():
218218
"wallet_address": feedback_request.walletAddress,
219219
"feedback": feedback_request.feedback,
220220
"share_history": feedback_request.shareHistory,
221+
"conversation_history": feedback_request.conversationHistory,
221222
"timestamp": timestamp,
222223
}
223224

224-
# Only include conversation history if user opted to share it
225-
if feedback_request.shareHistory:
226-
feedback_item["conversation_history"] = [
227-
msg.model_dump() for msg in feedback_request.conversationHistory
228-
]
229-
230225
# Store feedback in DynamoDB
231226
feedback_table.put_item(Item=feedback_item)
232227

0 commit comments

Comments
 (0)