mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-27 01:53:36 +00:00
Stop repeating a setting as a message with every answer
This commit is contained in:
parent
9f7cd3d707
commit
35b80f73a4
@ -80,8 +80,12 @@ public sealed class AugmentationOne : IAugmentationProcess
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
// No message to the user here: which providers are trusted enough is a setting, not
|
||||
// an event. It does not change between two answers, so a message would repeat itself
|
||||
// with every single one until the setting changes.
|
||||
//
|
||||
LOGGER.LogWarning("Skipping retrieval context validation because no sufficiently trusted validation agent provider is available. Continuing augmentation with all retrieved contexts.");
|
||||
await MessageBus.INSTANCE.SendWarning(new(Icons.Material.Filled.FactCheck, TB("No provider is trusted enough to check which passages fit your question. This answer uses all passages that were found.")));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user