Skip to content

Commit

Permalink
finished cleanup after 1.3.1 merge
Browse files Browse the repository at this point in the history
  • Loading branch information
MeindertN committed Mar 22, 2024
1 parent 8121f1b commit a9290db
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions RoboClerk.OpenAI/OpenAIPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using System.Collections.Generic;
using System.IO.Abstractions;
using RoboClerk.AISystem;

namespace RoboClerk.OpenAI
{
Expand Down
1 change: 1 addition & 0 deletions RoboClerk.OpenAI/OpenAIPromptTemplate.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using RoboClerk.AISystem;
using Tomlet;

namespace RoboClerk
Expand Down
1 change: 1 addition & 0 deletions RoboClerk.Tests/TestPromptTemplate.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using NSubstitute;
using NUnit.Framework;
using System.Collections.Generic;
using RoboClerk.AISystem;

namespace RoboClerk.Tests
{
Expand Down
5 changes: 2 additions & 3 deletions RoboClerk/AISystem/AISystemPluginBase.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using RoboClerk.AISystem;
using RoboClerk.Configuration;
using RoboClerk.Configuration;
using System.Collections.Generic;
using System.IO.Abstractions;

namespace RoboClerk
namespace RoboClerk.AISystem
{
public abstract class AISystemPluginBase : PluginBase, IAISystemPlugin
{
Expand Down
2 changes: 1 addition & 1 deletion RoboClerk/AISystem/PromptTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Linq;
using System.Reflection;

namespace RoboClerk
namespace RoboClerk.AISystem
{
public class PromptTemplate
{
Expand Down
2 changes: 1 addition & 1 deletion RoboClerk/Document.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void FromString(string text)
catch (TagInvalidException e)
{
e.DocumentTitle = title;
throw e;
throw;
}
}

Expand Down
2 changes: 1 addition & 1 deletion RoboClerk/PluginSupport/SLMSPluginBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace RoboClerk
{
public abstract class SLMSPluginBase : PluginBase
public abstract class SLMSPluginBase : DataSourcePluginBase
{
protected string prsName = string.Empty;
protected string srsName = string.Empty;
Expand Down
4 changes: 2 additions & 2 deletions RoboClerk/RoboClerkTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private void ProcessRoboClerkContainerInlineTag(int startIndex, int endIndex, st
catch (TagInvalidException e)
{
e.SetLocation(tagStart, rawDocument);
throw e;
throw;
}
ExtractParameters(contents);
var items = contents.Split('(')[0].Split(':');
Expand Down Expand Up @@ -248,7 +248,7 @@ private void ProcessRoboClerkContainerTag(int startIndex, int endIndex, string r
catch (TagInvalidException e)
{
e.SetLocation(tagStart, rawDocument);
throw e;
throw;
}
var items = tagContents.Split(':');
source = GetSource(items[0].Trim().ToUpper());
Expand Down

0 comments on commit a9290db

Please sign in to comment.