1
1
using AIStudio . Chat ;
2
- using AIStudio . Components . Settings ;
3
- using AIStudio . Dialogs . Settings ;
4
2
using AIStudio . Provider ;
5
3
using AIStudio . Settings ;
6
4
using AIStudio . Tools . Services ;
15
13
16
14
namespace AIStudio . Assistants ;
17
15
18
- public abstract partial class AssistantBase < TSettings > : ComponentBase , IMessageBusReceiver , IDisposable where TSettings : IComponent
16
+ public abstract partial class AssistantBase < TSettings > : AssistantLowerBase , IMessageBusReceiver , IDisposable where TSettings : IComponent
19
17
{
20
18
[ Inject ]
21
19
protected SettingsManager SettingsManager { get ; init ; } = null ! ;
@@ -35,9 +33,6 @@ public abstract partial class AssistantBase<TSettings> : ComponentBase, IMessage
35
33
[ Inject ]
36
34
protected RustService RustService { get ; init ; } = null ! ;
37
35
38
- [ Inject ]
39
- protected DataSourceService DataSourceService { get ; init ; } = null ! ;
40
-
41
36
[ Inject ]
42
37
protected NavigationManager NavigationManager { get ; init ; } = null ! ;
43
38
@@ -50,10 +45,6 @@ public abstract partial class AssistantBase<TSettings> : ComponentBase, IMessage
50
45
[ Inject ]
51
46
private MessageBus MessageBus { get ; init ; } = null ! ;
52
47
53
- internal const string RESULT_DIV_ID = "assistantResult" ;
54
- internal const string BEFORE_RESULT_DIV_ID = "beforeAssistantResult" ;
55
- internal const string AFTER_RESULT_DIV_ID = "afterAssistantResult" ;
56
-
57
48
protected abstract string Title { get ; }
58
49
59
50
protected abstract string Description { get ; }
@@ -99,8 +90,6 @@ public abstract partial class AssistantBase<TSettings> : ComponentBase, IMessage
99
90
protected virtual ChatThread ConvertToChatThread => this . chatThread ?? new ( ) ;
100
91
101
92
protected virtual IReadOnlyList < IButtonData > FooterButtons => [ ] ;
102
-
103
- protected static readonly Dictionary < string , object ? > USER_INPUT_ATTRIBUTES = new ( ) ;
104
93
105
94
protected AIStudio . Settings . Provider providerSettings ;
106
95
protected MudForm ? form ;
0 commit comments