mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 15:19:46 +00:00
Fixed validation
This commit is contained in:
parent
a51592e533
commit
2a72c5a764
@ -69,6 +69,7 @@ public partial class AssistantGrammarSpelling : AssistantBaseCore
|
|||||||
|
|
||||||
private async Task ProofreadText()
|
private async Task ProofreadText()
|
||||||
{
|
{
|
||||||
|
await this.form!.Validate();
|
||||||
if (!this.inputIsValid)
|
if (!this.inputIsValid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -75,6 +75,7 @@ public partial class AssistantRewriteImprove : AssistantBaseCore
|
|||||||
|
|
||||||
private async Task RewriteText()
|
private async Task RewriteText()
|
||||||
{
|
{
|
||||||
|
await this.form!.Validate();
|
||||||
if (!this.inputIsValid)
|
if (!this.inputIsValid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -69,6 +69,7 @@ public partial class AssistantTranslation : AssistantBaseCore
|
|||||||
|
|
||||||
private async Task TranslateText(bool force)
|
private async Task TranslateText(bool force)
|
||||||
{
|
{
|
||||||
|
await this.form!.Validate();
|
||||||
if (!this.inputIsValid)
|
if (!this.inputIsValid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# v0.8.8, build 170
|
# v0.8.8, build 170
|
||||||
- Added a grammar and spell checker assistant
|
- Added a grammar and spell checker assistant
|
||||||
- Added a rewrite and text improvement assistant
|
- Added a rewrite and text improvement assistant
|
||||||
|
- Fixed validation for the translation assistant
|
||||||
- Upgraded MudBlazor to v7.6.0
|
- Upgraded MudBlazor to v7.6.0
|
Loading…
Reference in New Issue
Block a user