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

check route_path with strings #654

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

rachaelcodes
Copy link
Contributor

Context

Fixes the failing test here: https://github.com/i-dot-ai/redbox-copilot/actions/runs/9662502745/job/26652526453

Changes proposed in this pull request

Does not pull the ChatRoute from redbox (which creates a search for elasticsearch), but instead checks the route_name against a string.

Guidance to review

Try running the backend-test task and see if it is fixed

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

@rachaelcodes rachaelcodes marked this pull request as ready for review June 25, 2024 13:30
@@ -51,9 +51,9 @@ async def lifespan(context: ContextRepo):
embedding=embeddings,
es_connection=es,
query_field="text",
vector_query_field=env.embedding_document_field_name
Copy link
Contributor Author

Choose a reason for hiding this comment

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

linter fix

@rachaelcodes rachaelcodes merged commit 558fa9b into main Jun 25, 2024
6 checks passed
@rachaelcodes rachaelcodes deleted the bugfix/remove-redbox-reference-from-e2e-test branch June 25, 2024 13:36
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