mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-27 00:53:37 +00:00
Remove trailing newlines added at end of files
This commit is contained in:
parent
2911fb10e5
commit
5a0980d69b
@ -395,4 +395,4 @@ public sealed class ReadWebPageTool(WebPageRetrievalService webPageRetrievalServ
|
|||||||
? normalizedHost.EndsWith($".{this.Host}", StringComparison.Ordinal) && normalizedHost.Length > this.Host.Length + 1
|
? normalizedHost.EndsWith($".{this.Host}", StringComparison.Ordinal) && normalizedHost.Length > this.Host.Length + 1
|
||||||
: normalizedHost.Equals(this.Host, StringComparison.Ordinal);
|
: normalizedHost.Equals(this.Host, StringComparison.Ordinal);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -887,4 +887,4 @@ public sealed class WebSearchTool(IEnumerable<IWebSearchBackend> backends, WebPa
|
|||||||
error = string.Format(TB("The setting '{0}' holds the value '{1}', which is not one of the available options. Please choose one of the offered values."), fieldName, value);
|
error = string.Format(TB("The setting '{0}' holds the value '{1}', which is not one of the available options. Please choose one of the offered values."), fieldName, value);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -36,4 +36,4 @@ public sealed class ToolDefinition
|
|||||||
public ConfidenceLevel MinimumProviderConfidence { get; init; } = ConfidenceLevel.NONE;
|
public ConfidenceLevel MinimumProviderConfidence { get; init; } = ConfidenceLevel.NONE;
|
||||||
|
|
||||||
public ToolFunctionDefinition Function { get; init; } = new();
|
public ToolFunctionDefinition Function { get; init; } = new();
|
||||||
}
|
}
|
||||||
@ -50,4 +50,4 @@ public sealed class ToolSettingsFieldDefinition
|
|||||||
public IReadOnlyList<ToolSettingsOption> GetOptions() => string.IsNullOrWhiteSpace(this.OptionSource)
|
public IReadOnlyList<ToolSettingsOption> GetOptions() => string.IsNullOrWhiteSpace(this.OptionSource)
|
||||||
? this.EnumValues.Select(value => new ToolSettingsOption(value, value)).ToList()
|
? this.EnumValues.Select(value => new ToolSettingsOption(value, value)).ToList()
|
||||||
: ToolSettingsOptionSources.Resolve(this.OptionSource);
|
: ToolSettingsOptionSources.Resolve(this.OptionSource);
|
||||||
}
|
}
|
||||||
@ -93,4 +93,4 @@ public sealed class ToolSettingsSchemaBuilder
|
|||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -211,4 +211,4 @@ public sealed partial class ToolSettingsService(SettingsManager settingsManager,
|
|||||||
secret = decryptedSecret;
|
secret = decryptedSecret;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user