core
core copied to clipboard
Create an Azure OpenAI tool with image generation
Description
- Summary of changes: Introduces a new variant of the existing Dalle tool that uses Azure credentials instead´.
- Related issues: No
- Motivation and context: This was not previously possible, since the DalleTool was only implemented for OpenAI api.
- Environment or dependencies: No
- Impact on metrics: No
Type of change
Please check the options that are relevant:
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Model update (Addition or modification of models)
- [ ] Other (please describe):
Checklist
- [x] Adherence to standards: Code complies with Agno’s style guidelines and best practices.
- [x] Formatting and validation: You have run
./scripts/format.shand./scripts/validate.shto ensure code is formatted and linted. - [x] Self-review completed: A thorough review has been performed by the contributor(s).
- [x] Documentation: Docstrings and comments have been added or updated for any complex logic.
- [x] Examples and guides: Relevant cookbook examples have been included or updated (if applicable).
- [x] Tested in a clean environment: Changes have been tested in a clean environment to confirm expected behavior.
- [x] Tests (optional): Tests have been added or updated to cover any new or changed functionality.