From ffaffb50db3e8497afedddca33d0f4f59cecaf48 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sun, 8 Sep 2024 17:06:01 +0200 Subject: [PATCH] Added an indicator for the current and maximal length of the provider instance name --- app/MindWork AI Studio/Dialogs/ProviderDialog.razor | 3 +++ app/MindWork AI Studio/wwwroot/changelog/v0.9.7.md | 1 + 2 files changed, 4 insertions(+) diff --git a/app/MindWork AI Studio/Dialogs/ProviderDialog.razor b/app/MindWork AI Studio/Dialogs/ProviderDialog.razor index c6fd8dc8..82cb5149 100644 --- a/app/MindWork AI Studio/Dialogs/ProviderDialog.razor +++ b/app/MindWork AI Studio/Dialogs/ProviderDialog.razor @@ -83,6 +83,9 @@ @bind-Text="@this.DataInstanceName" Label="Instance Name" Class="mb-3" + MaxLength="40" + Counter="40" + Immediate="@true" Adornment="Adornment.Start" AdornmentIcon="@Icons.Material.Filled.Lightbulb" AdornmentColor="Color.Info" diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.9.7.md b/app/MindWork AI Studio/wwwroot/changelog/v0.9.7.md index 962678c7..81c3b28d 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v0.9.7.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v0.9.7.md @@ -1,5 +1,6 @@ # v0.9.7, build 182 (2024-09-09 xx:xx UTC) - Added an introductory description to the provider settings. +- Added an indicator for the current and maximal length of the provider instance name. - Fixed the bug that the model name for Fireworks was not loaded when editing the provider settings. - Improved hyphenation for continuous text so that the rules of the respective language are taken into account where possible. - Improved the rules for provider names: unnecessary restrictions from earlier versions have been removed. You can now use emojis in your provider names when you like. \ No newline at end of file