mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-20 20:12:57 +00:00
Spelling
This commit is contained in:
parent
6b112c9fee
commit
f221119d71
@ -60,7 +60,7 @@ public sealed class PluginConfiguration(bool isInternal, LuaState state, PluginT
|
|||||||
ManagedConfiguration.TryProcessConfiguration(x => x.App, x => x.AllowUserToAddProvider, this.Id, settingsTable, dryRun);
|
ManagedConfiguration.TryProcessConfiguration(x => x.App, x => x.AllowUserToAddProvider, this.Id, settingsTable, dryRun);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Configured providers
|
// Configured providers:
|
||||||
//
|
//
|
||||||
if (!mainTable.TryGetValue("LLM_PROVIDERS", out var providersValue) || !providersValue.TryRead<LuaTable>(out var providersTable))
|
if (!mainTable.TryGetValue("LLM_PROVIDERS", out var providersValue) || !providersValue.TryRead<LuaTable>(out var providersTable))
|
||||||
{
|
{
|
||||||
@ -113,7 +113,7 @@ public sealed class PluginConfiguration(bool isInternal, LuaState state, PluginT
|
|||||||
#pragma warning restore MWAIS0001
|
#pragma warning restore MWAIS0001
|
||||||
|
|
||||||
//
|
//
|
||||||
// Configured chat templates
|
// Configured chat templates:
|
||||||
//
|
//
|
||||||
if (mainTable.TryGetValue("CHAT_TEMPLATES", out var templatesValue) && templatesValue.TryRead<LuaTable>(out var templatesTable))
|
if (mainTable.TryGetValue("CHAT_TEMPLATES", out var templatesValue) && templatesValue.TryRead<LuaTable>(out var templatesTable))
|
||||||
{
|
{
|
||||||
|
@ -153,7 +153,7 @@ public static partial class PluginFactory
|
|||||||
#pragma warning restore MWAIS0001
|
#pragma warning restore MWAIS0001
|
||||||
|
|
||||||
//
|
//
|
||||||
// Check Chat Templates:
|
// Check chat templates:
|
||||||
//
|
//
|
||||||
var configuredTemplates = SETTINGS_MANAGER.ConfigurationData.ChatTemplates.ToList();
|
var configuredTemplates = SETTINGS_MANAGER.ConfigurationData.ChatTemplates.ToList();
|
||||||
foreach (var configuredTemplate in configuredTemplates)
|
foreach (var configuredTemplate in configuredTemplates)
|
||||||
|
Loading…
Reference in New Issue
Block a user