mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-09 11:49:40 +00:00
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.
41 lines
2.2 KiB
C#
41 lines
2.2 KiB
C#
namespace AIStudio;
|
|
|
|
public sealed partial class Routes
|
|
{
|
|
public const string HOME = "/";
|
|
public const string CHAT = "/chat";
|
|
public const string EMBEDDINGS = "/embeddings";
|
|
public const string ABOUT = "/about";
|
|
public const string ASSISTANTS = "/assistants";
|
|
public const string SETTINGS = "/settings";
|
|
public const string SUPPORTERS = "/supporters";
|
|
public const string WRITER = "/writer";
|
|
public const string PLUGINS = "/plugins";
|
|
|
|
// ReSharper disable InconsistentNaming
|
|
public const string ASSISTANT_TRANSLATION = "/assistant/translation";
|
|
public const string ASSISTANT_REWRITE = "/assistant/rewrite-improve";
|
|
public const string ASSISTANT_PROMPT_OPTIMIZER = "/assistant/prompt-optimizer";
|
|
public const string ASSISTANT_ICON_FINDER = "/assistant/icons";
|
|
public const string ASSISTANT_GRAMMAR_SPELLING = "/assistant/grammar-spelling";
|
|
public const string ASSISTANT_SUMMARIZER = "/assistant/summarizer";
|
|
public const string ASSISTANT_CODING = "/assistant/coding";
|
|
public const string ASSISTANT_AGENDA = "/assistant/agenda";
|
|
public const string ASSISTANT_EMAIL = "/assistant/email";
|
|
public const string ASSISTANT_LEGAL_CHECK = "/assistant/legal-check";
|
|
public const string ASSISTANT_SYNONYMS = "/assistant/synonyms";
|
|
public const string ASSISTANT_SLIDE_BUILDER = "/assistant/slide-builder";
|
|
public const string ASSISTANT_VISUAL_BRIEFING = "/assistant/visual-briefing";
|
|
public const string ASSISTANT_MY_TASKS = "/assistant/my-tasks";
|
|
public const string ASSISTANT_JOB_POSTING = "/assistant/job-posting";
|
|
public const string ASSISTANT_BIAS = "/assistant/bias-of-the-day";
|
|
public const string ASSISTANT_ERI = "/assistant/eri";
|
|
public const string ASSISTANT_AI_STUDIO_I18N = "/assistant/ai-studio/i18n";
|
|
public const string ASSISTANT_DOCUMENT_ANALYSIS = "/assistant/document-analysis";
|
|
public const string ASSISTANT_BATCH_PROCESSING = "/assistant/batch-processing";
|
|
public const string ASSISTANT_DYNAMIC = "/assistant/dynamic";
|
|
public const string ASSISTANT_META_ASSISTANT = "/assistant/builder";
|
|
public const string ASSISTANT_LOG_VIEWER = "/assistant/log-viewer";
|
|
// ReSharper restore InconsistentNaming
|
|
}
|