Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Feb 22, 2024
1 parent 0ce10fa commit 68a780c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ChatGPTSharp.Sample/GetMovieTitle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal static async Task Test()
for (int i = 0; i < 100; i++)
{
var msg = await client.SendMessage($"{kSystemMessage}{titleFull}");
Console.WriteLine(msg.Response["title"]);
Console.WriteLine(msg.Response);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion ChatGPTSharp/Model/ClientModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public JObject MessageBody

public class ConversationResult
{
public JToken? Response { get; set; }
public string? Response { get; set; }
public string? ConversationId { get; set; }
public string? MessageId { get; set; }
public string? Details { get; set; }
Expand Down

0 comments on commit 68a780c

Please sign in to comment.