feat: `ModelProvider` unified interface
WIP - closes #599
- Bridges in the current model impl's
- adds Azure AI Foundry (a new model provider) as an example of a full use of the new interface.
- adds Azure Databricks (a new OpenAI-compatible provider) as an example of the shortcut interface.
- documents a Provider Development Guide for contributors
- adds scaffolding script for quickly getting started on a new provider contribution
Added PROVIDER_DEVELOPMENT_GUIDE.md to guide contributors into the pit of success. Includes a scaffolding script for new providers to make it even easier.
@andrewpareles / @vrtnis any feedback on this so far? See PROVIDER_DEVELOPMENT_GUIDE.md. All that's left is to hook up to the settings and onboarding ui
looks neat! was yaml/json support ever intended for this pr? ( I think we are just including the TS-only path for v1 and potentially adding manifest loading later, right?... just wondering)
also, thinking if there is value in a smoke test eg. a one-liner like npm run test:provider... so contributors & CI can verify a new provider actually responds before merge.
looks neat! was yaml/json support ever intended for this pr? ( I think we are just including the TS-only path for v1 and potentially adding manifest loading later, right?... just wondering)
also, thinking if there is value in a smoke test eg. a one-liner like
npm run test:provider...so contributors & CI can verify a new provider actually responds before merge.
@vrtnis Great ideas! Yes to both in my mind.. although this "v1" PR is getting quite large so maybe in the next PR we add
Any chance we can push for movement on this? This is blocking #596
Any chance we can push for movement on this? This is blocking #596
I am waiting for feedback on this proposal from core maintainers before I implement the rest - it is a large PR and touches a bunch of core logic. Sorry to nudge you @andrewpareles : maybe we can connect on Discord for a code review.
Sorry for the delay -- will review this ASAP and provide some feedback.
Sorry for the delay -- will review this ASAP and provide some feedback.
Hey Andrew - could we bump this?