Skip to content

Commit

Permalink
Merge pull request #413 from buchizo/support-azure-openai-from-aitube…
Browse files Browse the repository at this point in the history
…r-controller

Support IsAzure option of ChatGpt LLM by AITuber controller
  • Loading branch information
uezo authored Jan 14, 2025
2 parents 31b34ab + 2820bfc commit cb5f119
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 cb5f119

Please sign in to comment.