mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-13 10:14:24 +00:00
Formatting changes
This commit is contained in:
parent
b15134d876
commit
4385c9d2c0
@ -171,8 +171,7 @@ public sealed class ContentText : IContent
|
||||
|
||||
if (string.IsNullOrWhiteSpace(chatModel.Id))
|
||||
{
|
||||
LOGGER.LogWarning(
|
||||
"Skipping AI request because model ID is null or white space.");
|
||||
LOGGER.LogWarning("Skipping AI request because model ID is null or white space.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -194,9 +193,7 @@ public sealed class ContentText : IContent
|
||||
var availableModels = loadedModels.Where(model => !string.IsNullOrWhiteSpace(model.Id)).ToList();
|
||||
if (availableModels.Count == 0)
|
||||
{
|
||||
LOGGER.LogWarning(
|
||||
"Skipping AI request because there are no models available from '{ProviderInstanceName}' (provider={ProviderType}).",
|
||||
provider.InstanceName, provider.Provider);
|
||||
LOGGER.LogWarning("Skipping AI request because there are no models available from '{ProviderInstanceName}' (provider={ProviderType}).", provider.InstanceName, provider.Provider);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user