Avoided needless Semantic Search calls when no data source can be searched (#1108)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-25 19:38:52 +01:00
1 parent 8d9b15bd5f
commit d26139936a
8 files changed
+92 -33

No files matched your search

@@ -8,8 +8,9 @@ namespace AIStudio.Tools.RAG;
/// Tells the model which data sources of the chat could not be searched because their server could not be reached.
/// </summary>
/// <remarks>
/// Semantic Search writes this into the description of its tool, the classic RAG process next to
/// the passages it found. Both use the same words, so that the model hears the same in either way.
/// Semantic Search writes this into the description of its tool, or into the system prompt when no
/// data source of the chat can be searched and the tool stays out. The classic RAG process writes it
/// next to the passages it found. All use the same words, so that the model hears the same in either way.
/// Only external data sources have a server which may be out of reach, hence their kind is not
/// listed.<br/><br/>
/// The note holds nothing but the names the data sources have in AI Studio, configured by the user