Skip to content

Commit

Permalink
Solve Reference Error
Browse files Browse the repository at this point in the history
  • Loading branch information
GeeksAmin committed Nov 18, 2024
1 parent 737833e commit c95622a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Olive.Gpt/ApiDto/ChatRequestThread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ class ChatRequestThread
{
public ChatRequestThread(ChatMessage[] messages)
{
Messages = new Dictionary<string, object>();

foreach (var item in messages)
{
Messages.Add(item.Role, item.Content);
Expand Down
2 changes: 1 addition & 1 deletion Olive.Gpt/Olive.Gpt.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.1.4</Version>
<Version>1.1.5</Version>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
</PropertyGroup>

Expand Down

0 comments on commit c95622a

Please sign in to comment.