mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-01-14 08:47:57 -05:00
Add centralized factory function for AI vendor plugin initialization: - Add NewVendorPluginBase(name, configure) to internal/plugins/plugin.go - Update 8 vendor files (anthropic, bedrock, gemini, lmstudio, ollama, openai, perplexity, vertexai) to use the factory function - Add 3 test cases for the new factory function This removes ~40 lines of duplicated boilerplate code and ensures consistent plugin initialization across all vendors. MAESTRO: Loop 00001 refactoring implementation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>