mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-20 09:52:14 +00:00
1.3 KiB
1.3 KiB
Chat Data Source Options
- Status: Active
- Introduced: 2026-07-05
- Remove after: 2027-01-05
- Code references:
app/MindWork AI Studio/Settings/DataModel/DataChat.cs
User Impact
Older settings files store default chat data source options in the nested DataChat.PreselectedDataSourceOptions object.
Without this shim, those defaults would be lost after upgrading to a version that exposes the individual data source default fields to configuration plugins.
Compatibility Behavior
DataChat.PreselectedDataSourceOptions remains available as a compatibility property. Reading it maps the new individual fields into a DataSourceOptions object, and setting it copies values from the legacy nested object into the new fields.
This lets older settings files load without a settings version migration and keeps existing UI bindings working while configuration plugins manage the individual fields.
Removal Checklist
- Confirm supported settings files are expected to contain
PreselectedDataSourcesDisabled,PreselectedDataSourcesAutomaticSelection,PreselectedDataSourcesAutomaticValidation, andPreselectedDataSourceIds. - Remove
DataChat.PreselectedDataSourceOptions. - Update any remaining callers to use the individual fields or a dedicated helper.
- Update this document's status to
Removed.