mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-13 15:44:12 +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))
|
if (string.IsNullOrWhiteSpace(chatModel.Id))
|
||||||
{
|
{
|
||||||
LOGGER.LogWarning(
|
LOGGER.LogWarning("Skipping AI request because model ID is null or white space.");
|
||||||
"Skipping AI request because model ID is null or white space.");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -194,9 +193,7 @@ public sealed class ContentText : IContent
|
|||||||
var availableModels = loadedModels.Where(model => !string.IsNullOrWhiteSpace(model.Id)).ToList();
|
var availableModels = loadedModels.Where(model => !string.IsNullOrWhiteSpace(model.Id)).ToList();
|
||||||
if (availableModels.Count == 0)
|
if (availableModels.Count == 0)
|
||||||
{
|
{
|
||||||
LOGGER.LogWarning(
|
LOGGER.LogWarning("Skipping AI request because there are no models available from '{ProviderInstanceName}' (provider={ProviderType}).", provider.InstanceName, provider.Provider);
|
||||||
"Skipping AI request because there are no models available from '{ProviderInstanceName}' (provider={ProviderType}).",
|
|
||||||
provider.InstanceName, provider.Provider);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user