Skip to content

Commit

Permalink
🐛 Fix incorrect model ID in ConfigurationProvider (#25)
Browse files Browse the repository at this point in the history
This commit fixes an incorrect model ID in the ConfigurationProvider
class. The model ID has been updated from "gpt-35-turbo" to
"gpt-3.5-turbo". Additionally, a variable reference has been corrected
from "_configuration" to "_config" to ensure proper functionality.
  • Loading branch information
lemillermicrosoft authored Sep 27, 2023
1 parent ad2455f commit f10e245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/SKonsole/ConfigurationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ private void MergeDefaultConfig()
{
var defaultConfig = new Dictionary<string, string>()
{
{ ConfigConstants.OPENAI_CHAT_MODEL_ID , "gpt-35-turbo" }
{ ConfigConstants.OPENAI_CHAT_MODEL_ID , "gpt-3.5-turbo" }
};

bool hasChanged = false;

foreach (var defaultConfigItem in defaultConfig)
{
if (!string.IsNullOrWhiteSpace(this._configuration[defaultConfigItem.Key]))
if (!string.IsNullOrWhiteSpace(this._config[defaultConfigItem.Key]))
{
this._config[defaultConfigItem.Key] = defaultConfigItem.Value;
hasChanged = true;
Expand Down

0 comments on commit f10e245

Please sign in to comment.