Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/search gov.uk tests #1223

Merged
merged 3 commits into from
Nov 21, 2024
Merged

bugfix/search gov.uk tests #1223

merged 3 commits into from
Nov 21, 2024

Conversation

gecBurton
Copy link
Collaborator

@gecBurton gecBurton commented Nov 21, 2024

Context

fix for a merge conflict

Changes proposed in this pull request

Guidance to review

Relevant links

Things to check

  • I have added any new ENV vars in all deployed environments
  • I have tested any code added or changed
  • I have run integration tests

@@ -111,7 +111,7 @@ def recalculate_similarity(response, query, num_results):
return response

@tool(response_format="content_and_artifact")
def _search_govuk(query: str) -> tuple[str, list[Document]]:
def _search_govuk(query: str, state: Annotated[RedboxState, InjectedState]) -> tuple[str, list[Document]]:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is the key change

@gecBurton gecBurton merged commit 7c69f12 into main Nov 21, 2024
6 checks passed
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