// A prompt which an assistant wrote for the chat is not the one it created its result with, which the heading must not hide:
SystemPromptPartKind.BASE_PROMPTwhenpart.Originis{Source:ChatSystemPromptSource.CUSTOM}origin=>new(string.Format(T("Chat prompt of the assistant '{0}'"),origin.AssistantName),part.Text,string.Format(T("The assistant '{0}' wrote these instructions for your follow-up questions in this chat. They differ from the instructions with which the assistant created its result."),origin.AssistantName)),
SystemPromptPartKind.BASE_PROMPTwhenpart.Originis{}origin=>new(string.Format(T("System prompt of the assistant '{0}'"),origin.AssistantName),part.Text,string.Empty),
SystemPromptPartKind.TOOL_INSTRUCTIONS=>new(string.Format(T("Instructions for your tools: {0}"),string.Join(", ",this.ToolNames)),part.Text,T("When the AI reaches the limit of tool calls for one answer, AI Studio adds one more instruction at the end: to answer with what the tools have returned so far.")),
SystemPromptPartKind.HISTORY_NOTES=>new(T("Instructions for the notes on earlier answers"),part.Text,T("When an earlier answer in this chat used tools or sources, AI Studio puts a note in front of it which names them. Only the AI receives this note; you do not see it in the chat. These instructions tell the AI what the note means.")),
result.Add(new(string.Format(T("Profile '{0}'"),this.Prompt.SwitchedOffProfile.Name),string.Empty,T("The chat template does not allow profiles, so your selected profile is not part of the prompt.")));
?T("AI Studio retrieved this data for your last message. When you send your next message, AI Studio searches your data sources again and replaces this data with what it finds then.")
:T("AI Studio sent this data with your last message. When you send your next message, AI Studio works out this part anew.");
DataSourceRetrievalMode.EVERY_MESSAGE=>T("When you send your next message, AI Studio searches your data sources and adds what it finds here."),
DataSourceRetrievalMode.SEMANTIC_SEARCH=>T("The AI searches your data sources itself whenever a question calls for it. What it finds reaches the AI as the result of that search, not as part of this prompt."),