We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e966389 commit c525dfbCopy full SHA for c525dfb
src/codegate/api/v1.py
@@ -510,9 +510,10 @@ async def get_workspace_messages(
510
logger.warning(f"Skipping prompt {prompt.id}. No messages found")
511
continue
512
513
- # message is just the first entry in the request
+ # message is just the first entry in the request, cleaned properly
514
+ message = v1_processing.parse_question_answer(messages[0])
515
message_obj = v1_models.ChatMessage(
- message=messages[0], timestamp=prompt.timestamp, message_id=prompt.id
516
+ message=message, timestamp=prompt.timestamp, message_id=prompt.id
517
)
518
519
# count total alerts for the prompt
0 commit comments