[pull] develop from baserow:develop - #443
Merged
Merged
Conversation
* 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )