mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
788e3b71fd
- Add `baseUrl` and `apiKey` fields to CustomModelConfig (config and models packages) - Store them on ModelInfo so they travel through the registry - createCustomProvider resolves URL/key from model definition first, falling back to global --provider-url / --provider-api-key - Fix registry initialisation: call ReloadGlobalRegistry() in InitConfig() so customModels from config are visible on startup (not just at init time) - Include custom provider in GetLLMProviders() so custom models appear in the /model selector - Hide the built-in custom/custom stub from the selector when user-defined custom models are present