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

fix: Fix Azure provider and add complex e2e testing #1842

Merged
merged 10 commits into from
Oct 8, 2024

Conversation

mattzh72
Copy link
Collaborator

@mattzh72 mattzh72 commented Oct 7, 2024

Description

Fix Azure endpoint and add complex e2e testing. Originally, Azure endpoint was broken. We fixed this by factoring out the logic written for the OpenAI provider and extending it the Azure provider.

Variety of other changes as well:

  • Move configs to tests directory to make clear configs are only used for testing
  • Refactor several files and logic around inner_thoughts_in_kwargs
  • Rename some variables for coding style / maintainability
  • Create the Azure provider class

Testing

Wrote testing suite in test_endpoints.py and manually ran them. Holding off on adding this to CI for now because we need @cpacker to add environment variables into GH Actions.

letta/credentials.py Outdated Show resolved Hide resolved
@mattzh72 mattzh72 merged commit 7be60fc into main Oct 8, 2024
11 checks passed
mattzh72 added a commit that referenced this pull request Oct 9, 2024
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