Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions Clippy.Core/Services/IKeyService.cs

This file was deleted.

4 changes: 3 additions & 1 deletion Clippy.Core/Services/ISettingsService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Text;

Expand All @@ -11,5 +11,7 @@ public interface ISettingsService
public bool TranslucentBackground { get; set; }
public bool KeyboardEnabled { get; set; }
public int Tokens { get; set; }
public string CurrentModel { get; set; }
public string OllamaUrl { get; set; }
}
}
4 changes: 2 additions & 2 deletions Clippy/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ private static IServiceProvider ConfigureServices()
{
var services = new ServiceCollection();

services.AddSingleton<IChatService, ChatService>();
services.AddSingleton<IKeyService, KeyService>();
services.AddSingleton<OllamaService>();
services.AddSingleton<IChatService>(sp => sp.GetRequiredService<OllamaService>());
services.AddSingleton<ISettingsService, SettingsService>();
services.AddSingleton<ClippyViewModel>();

Expand Down
4 changes: 0 additions & 4 deletions Clippy/Clippy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
<Content Remove="Assets\Clippy\Clippy.png" />
</ItemGroup>
<ItemGroup>
<None Remove="Controls\APIBox.xaml" />
<None Remove="Controls\ClippyMessage.xaml" />
<None Remove="Controls\Messages\SystemMessage.xaml" />
<None Remove="Controls\MessageTriangle.xaml" />
Expand Down Expand Up @@ -91,9 +90,6 @@
<Page Update="Controls\Messages\SystemMessage.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Controls\APIBox.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Controls\ShineUITextblock.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
Expand Down
283 changes: 0 additions & 283 deletions Clippy/Controls/APIBox.xaml

This file was deleted.

78 changes: 0 additions & 78 deletions Clippy/Controls/APIBox.xaml.cs

This file was deleted.

32 changes: 0 additions & 32 deletions Clippy/Services/KeyService.cs

This file was deleted.

Loading