Skip to content

Commit

Permalink
Support IsAzure option of ChatGpt LLM by AITuber controller
Browse files Browse the repository at this point in the history
  • Loading branch information
buchizo committed Jan 14, 2025
1 parent 31b34ab commit 2820bfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Demo/AITuber/AITuberMessageHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ private async UniTask HandleExternalMessage(ExternalInboundMessage message)
if (model != null) chatGPTService.Model = model;
if (temperature >= 0) chatGPTService.Temperature = temperature;
if (url != null) chatGPTService.ChatCompletionUrl = url;
chatGPTService.IsAzure = message.Payloads.ContainsKey("is_azure") ? Convert.ToBoolean(message.Payloads["is_azure"]) : false;
}
else if (name == "claude")
{
Expand Down

0 comments on commit 2820bfc

Please sign in to comment.