Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxup committed Oct 7, 2023
1 parent 22e1e06 commit c0159c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Backmen/GptAhelpSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private async void GptCommand(IConsoleShell shell, string argstr, string[] args)
return;
}

var payload = new GptApiPacket(_apiModel, _history[userId].Select(x=>new GptApiMessage(x.role.ToString(), x.message)).ToArray(),0);
var payload = new GptApiPacket(_apiModel, _history[userId].Select(x=>new GptApiMessage(x.role.ToString(), x.message)).ToArray(),0.8f);
var request = await _httpClient.PostAsync($"{_apiUrl}chat/completions",
new StringContent(JsonSerializer.Serialize(payload), Encoding.UTF8, "application/json"));

Expand Down

0 comments on commit c0159c1

Please sign in to comment.