Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Legba.Engine/Legba.Engine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>2.0.0.0</Version>
<Version>1.2.0.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Legba.Engine/ViewModels/AboutViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class AboutViewModel
public string SourceCode =>
"https://github.com/LillySoftwareConsulting/Legba";
public string Disclaimer =>
"This software is provided as-is, without warranty of any kind, " +
"express or implied. Use at your own risk.";
"This software is provided as-is, without any warranty, express or implied. " +
"While every effort has been made to ensure the program functions correctly, it is used at your own risk.";
public string Credits =>
"This software uses the following third-party components:\n" +
"• LiteDB\n" +
Expand Down
2 changes: 1 addition & 1 deletion Legba.WPF/Legba.WPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<UserSecretsId>3be61677-fcf9-4588-bc35-5383dcd0d62e</UserSecretsId>
<ApplicationIcon>Images\LegbaIcon.ico</ApplicationIcon>
<AssemblyName>Legba</AssemblyName>
<Version>2.0.0.0</Version>
<Version>1.2.0.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
16 changes: 16 additions & 0 deletions Legba.WPF/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,13 @@
<Grid Margin="5,5,5,5">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>

<!-- Requests and responses -->
<ListBox Grid.Row="0" Grid.Column="0"
x:Name="messages"
Background="#F4F6F6"
Expand Down Expand Up @@ -140,7 +142,21 @@
</ListBox.ItemTemplate>
</ListBox>

<!-- Latest request's token counts -->
<StackPanel Grid.Row="1" Grid.Column="0"
Orientation="Horizontal">
<Label Content="Session Totals"
FontWeight="Bold"/>
<Label Content="Prompt tokens:"/>
<Label Content="{Binding ChatSession.GrandTotalRequestTokenCount}"/>
<Label Content="Completion tokens:"/>
<Label Content="{Binding ChatSession.GrandTotalResponseTokenCount}"/>
<Label Content="All tokens:"/>
<Label Content="{Binding ChatSession.GrandTotalTokenCount}"/>
</StackPanel>

</Grid>

</TabItem>

<!-- Statistics -->
Expand Down
Loading