v0.2.5
VRSEN/agency-swarmv0.2.5May 30, 2024by VRSEN
AI Summary
Improvements to schema conversion and the default model selection, alongside enhanced capabilities in the Gradio interface for vision tasks. This version also addresses initialization issues with the V1 assistants API.
Key Highlights
- Improved OpenAPI schema conversion using datamodel-code-generator
- Default model changed to gpt-4o
- Gradio interface now accepts image files
New Features
- Improved OpenAPI schema conversion
- Default model gpt-4o
- Gradio image file analysis support
- Auto-addition of required tools in Gradio
- Fixed V1 assistants API initialization
- Fixed file assignment based on types
Full Release Notes
## New Features * Converting OpenAI/OpenAPI schemas using `ToolFactory` into tools has been significantly improved with `datamodel-code-generator`. Now, all parameters and endpoints are converted into `BaseTool`s flawlessly, even with complex data structures like `oneOf` or `allOf`, allowing the agent to validate all inputs **before** calling the API. * Default model is now `gpt-4o`. * Gradio interface now accepts image files for analysis with vision. * Gradio interface now automatically adds required tools to the recipient agent when uploading files. ## Bug Fixes * Fixed bugs with the initialization of assistants created with the V1 assistants API. #128 * Fixed file assignment to tool resources based on file types in the Gradio interface. * Fixed typos by @Elektra58. ## New Contributors * @beanlover made their first contribution in https://github.com/VRSEN/agency-swarm/pull/129 * @Elektra58 made their first contribution in https://github.com/VRSEN/agency-swarm/pull/132 ### Note Version 0.2.4 was skipped because of an extra debug statement that was not removed. **Full Changelog**: https://github.com/VRSEN/agency-swarm/compare/v0.2.3...v0.2.5