AI-Studio/app/MindWork AI Studio/Chat
Thorsten Sommer fe35630eff
Merge branch 'main' into chunk-data
Resolved 29 conflicting files. The notable decisions:

Confidence: main's tool-calling gate (RequiredProviderConfidence) and this
branch's local-RAG gate (DataConfidenceLevel) turned out to be the same rule
on the same axis, so they are now one field. Both tool results and data
sources raise it through RequireProviderConfidence(). The gate checks the
level strictly and no longer exempts providers trusted by configuration:
TrustedProviderIds is documented as applying to data-source security checks
only, and organizations set confidence through DataConfidence
.CustomConfidenceScheme instead. The security axis (DataSecurity, ERI,
IsTrustedForDataSourceSecurityChecks) is unchanged.

Provider creation: main's CreateProvider signature won (hfEndpointKind,
capabilityOverrides, no model parameter); tokenizerPath was added to it and
is set for every provider, including the new Hetzner, IONOS and LiteLLM.
Provider and EmbeddingProvider combine the record parameters, Lua parsing and
Lua serialization of both sides.

File types: main's hierarchy (ODT leaf, WORD parent, PowerPoint without the
legacy .ppt, TABULAR instead of DELIMITED_TABLE) plus this branch's
SPREADSHEET parent with ODS and the xlsm/xlsb/xla/xlam extensions, which the
runtime already reads. Both sides had added a conflicting HTML filter; the
reading family keeps the name, and the export path uses a narrow
HTML_DOCUMENT, following the existing LATEX/TEX split.

Runtime: main's file_data.rs is the base, including the prompt-injection
sanitizer and the extraction routes. Token counting and chunk segmentation
moved into take_released, so they act on the text the filter has released
rather than on text it is still holding. A failed count is logged and left
out instead of ending the extraction, because the app counts such a segment
itself.

Data sources: the participating-provider checks of this branch are kept, and
main's GetAllowedDataSources overload now builds on them. DirectChatService
resolves the launched chat's data source options before the check, so filter
and chat see the same options.

.NET and Rust both build clean; I18N regenerated to 4060 keys.
2026-09-05 21:20:33 +02:00
..
ChatRole.cs Finalized chat templates (#475) 2025-05-24 19:11:28 +02:00
ChatRoleExtensions.cs Finalized chat templates (#475) 2025-05-24 19:11:28 +02:00
ChatRoles.cs Added chat templates (#474) 2025-05-24 12:27:00 +02:00
ChatStartRequest.cs Added direct-chat launchers for assistant plugins and a dialog to reconfigure them (#935) 2026-08-27 16:19:35 +02:00
ChatThread.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
ChatThreadExtensions.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
ContentBlock.cs Extension of the chat template (#521) 2025-07-11 09:57:46 +02:00
ContentBlockComponent.razor Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
ContentBlockComponent.razor.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
ContentImage.cs Reduced memory usage and fixed several memory leaks (#933) 2026-08-23 21:15:37 +02:00
ContentImageSource.cs Added retrieval integration, part I (#281) 2025-02-10 18:49:22 +01:00
ContentText.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
ContentType.cs Added chat UI 2024-05-04 11:11:09 +02:00
FileAttachment.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
FileAttachmentImage.cs Added support for images (#609) 2025-12-30 18:30:32 +01:00
FileAttachmentType.cs Refactored file attachments (#608) 2025-12-28 16:50:36 +01:00
IContent.cs Reduced memory usage and fixed several memory leaks (#933) 2026-08-23 21:15:37 +02:00
IContentExtensions.cs Rework of the file export (#894) 2026-08-31 08:40:50 +02:00
IImageSource.cs Added a common augmentation interface & default implementation (#288) 2025-02-18 11:24:43 +01:00
IImageSourceExtensions.cs Added support for managed custom root certificate bundles (#784) 2026-05-31 18:46:54 +02:00
KnownWorkspaces.cs Add ERI server assistant (#231) 2025-01-01 15:49:27 +01:00
ListContentBlockExtensions.cs Added support for images (#609) 2025-12-30 18:30:32 +01:00
ListFileAttachmentExtensions.cs Added support for images (#609) 2025-12-30 18:30:32 +01:00
ManagedTranscriptAttachment.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
MathJaxBlock.razor Added math rendering (#705) 2026-03-21 20:34:11 +01:00
MathJaxBlock.razor.cs Added math rendering (#705) 2026-03-21 20:34:11 +01:00
StringExtension.cs Prepared release v0.9.48 (#501) 2025-06-11 10:20:49 +02:00
SystemPrompts.cs Added the current date and time to the system prompt. (#628) 2026-01-18 20:36:04 +01:00