mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-03-12 18:49:08 +00:00
Fixed the default data source selection when replacing the chat (#315)
This commit is contained in:
parent
6a4a7dc0d6
commit
99622cec48
@ -275,6 +275,9 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
|
||||
{
|
||||
var chatDefaultOptions = this.SettingsManager.ConfigurationData.Chat.PreselectedDataSourceOptions.CreateCopy();
|
||||
this.earlyDataSourceOptions = chatDefaultOptions;
|
||||
if(this.ChatThread is not null)
|
||||
this.ChatThread.DataSourceOptions = chatDefaultOptions;
|
||||
|
||||
this.dataSourceSelectionComponent?.ChangeOptionWithoutSaving(chatDefaultOptions);
|
||||
}
|
||||
|
||||
|
@ -7,4 +7,5 @@
|
||||
- Improved chat thread persistence after modifications through the RAG process.
|
||||
- Improved the augmentation and generation part of RAG by passing the augmented data into the system prompt.
|
||||
- Fixed the chat thread we use for the data retrieval by removing the last block, which is meant to be for the final AI answer.
|
||||
- Fixed the data source name for ERI data sources when performing data retrieval.
|
||||
- Fixed the data source name for ERI data sources when performing data retrieval.
|
||||
- Fixed the default data source selection when replacing the current chat with a new one.
|
Loading…
Reference in New Issue
Block a user