mirror of
https://github.com/baserow/baserow.git
synced 2026-12-06 01:08:32 +00:00
* feat: register ai_agent AI provider model feature type * feat: expose integration-only AI provider settings lookup * feat: validate AI agent models against the ai_agent provider feature * feat: resolve AI agent dispatch settings from database-backed providers * feat: list database-backed AI providers in the AI agent node form * chore: add changelog entry for ai agent database-backed providers * fix: close dispatch feature-gate bypass for partial AI integration settings An integration-level ai_settings blob that omits credentials (e.g. only a models list) skipped the ai_agent feature membership check at dispatch, letting a restricted model run on the admin's DB credentials. Only a complete blob (its own connection) now bypasses the check; a partial one is validated the same way prepare_values already does. Also share one ScopedAIProviderState across the publish materialization loop instead of reloading it per model, and fully annotate AIAgentAIProviderModelFeatureType.get_workspace_availability. * fix: harden AI agent provider resolution * fix: preserve AI agent model inheritance during provider migration * fix: harden AI agent provider validation and document contracts * refactor: declare built-in AI provider types on the type itself The AI Agent model resolver duplicated the backend AI_PROVIDER_TYPES keys in a frontend Set, so a provider added there without updating the Set would silently lose model inheritance. Provider types now report it through isBuiltInProviderType(), inherited from BuiltInGenerativeAIModelType, with a test asserting every registered provider declares it.