Skip to content

Conversation

@kieran-wilkinson-4
Copy link
Contributor

@kieran-wilkinson-4 kieran-wilkinson-4 commented Dec 15, 2025

Summary

Adds unit tests for handling citations within AI reponses

Details

  • Splits slack_event tests into "message", "event", and "citation" for easier navigation
  • Add tests for add citations
  • Add tests for handling formatting within messages and citations

@github-actions
Copy link

github-actions bot commented Dec 15, 2025

This PR is linked to a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket:

AEA-6070

@kieran-wilkinson-4 kieran-wilkinson-4 changed the title feat: Add tests for opening, closing and changing citations Chore: [AEA-6070] - Add Unit Tests Dec 19, 2025
@sonarqubecloud
Copy link


logger.info(
f"Loading prompt {prompt_name}' (ID: {prompt_id})",
extra={"prompt_name": prompt_name, "prompt_id": prompt_id, "prompt_version": prompt_version},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (non-blocking): i'd probably keep the prompt_name and prompt_id extras so that we can search for them in the logs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are already in the name

@kieran-wilkinson-4 kieran-wilkinson-4 merged commit 1391ff7 into main Dec 23, 2025
12 checks passed
@kieran-wilkinson-4 kieran-wilkinson-4 deleted the AEA-6070-Update-Unit-Tests-Coverage branch December 23, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants