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/added default elastic settings #219

Merged
merged 3 commits into from
Apr 12, 2024

Conversation

gecBurton
Copy link
Collaborator

@gecBurton gecBurton commented Apr 12, 2024

Context

Integration test are failing on main

Changes proposed in this pull request

The reason is that we did not have default Elastic Settings, this has been added

Guidance to review

Relevant links

https://github.com/i-dot-ai/redbox-copilot/actions/runs/8658385003

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
  • I have manually tested the streamlit app

@@ -25,7 +27,7 @@ class Settings(BaseSettings):
anthropic_api_key: Optional[str] = None
openai_api_key: Optional[str] = None

elastic: ElasticCloud | ElasticLocal
elastic: ElasticCloudSettings | ElasticLocalSettings = ElasticLocalSettings()
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 81ada3b into main Apr 12, 2024
8 checks passed
@gecBurton gecBurton deleted the bugfix/missing-elastic-deatils-for-integration branch April 12, 2024 07:43
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