fix(server): Add Azure-related environment variables for server
Included new environment variables for Azure AD token, OpenAI API type, version, and endpoint in the .env.template. This will enable support for Azure services in the AutoGPT server configuration.
Background
Resolves: #7746
Our current server configuration lacks support for Azure OpenAI services, preventing users from leveraging Azure-deployed models in the AutoGPT Builder, particularly when working with LLM agent blocks. This PR adds the necessary environment variables to support Azure services in the AutoGPT server configuration, enabling seamless integration with Azure-deployed OpenAI models.
Changes 🏗️
Updated .env.template to include new environment variables:
Addition of the following required items to our .env.template
- Azure AD token
- OpenAI API type
- API version
- API endpoint
Next Steps:
- One call out here is that with these added we are still requiring the user to add their api key to each Block. This will be fixed in a following PR and does not align with being atomic here.
PR Quality Scorecard ✨
- [x] Have you used the PR description template?
+2 pts - [x] Is your pull request atomic, focusing on a single change?
+5 pts - [x] Have you linked the GitHub issue(s) that this PR addresses?
+5 pts - [ ] Have you documented your changes clearly and comprehensively?
+5 pts - [ ] Have you changed or added a feature?
-4 pts- [ ] Have you added/updated corresponding documentation?
+4 pts - [ ] Have you added/updated corresponding integration tests?
+5 pts
- [ ] Have you added/updated corresponding documentation?
- [ ] Have you changed the behavior of AutoGPT?
-5 pts- [ ] Have you also run
agbenchmarkto verify that these changes do not regress performance?+10 pts
- [ ] Have you also run
Deploy Preview for auto-gpt-docs canceled.
| Name | Link |
|---|---|
| Latest commit | 4907d331208618611e4a27aee04a34758dcd4d6c |
| Latest deploy log | https://app.netlify.com/sites/auto-gpt-docs/deploys/66b4de7c2a6626000822df94 |
Can these be set via block?
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
closing as stale, sorry! feel free to reopen when you get time