mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 20:29:07 +00:00
Fixed chat conversion of job posting, legal check, and my task assistants (#151)
This commit is contained in:
parent
375be805a1
commit
e6be9a593e
@ -1,3 +1,5 @@
|
|||||||
|
using AIStudio.Chat;
|
||||||
|
|
||||||
namespace AIStudio.Assistants.JobPosting;
|
namespace AIStudio.Assistants.JobPosting;
|
||||||
|
|
||||||
public partial class AssistantJobPostings : AssistantBaseCore
|
public partial class AssistantJobPostings : AssistantBaseCore
|
||||||
@ -52,6 +54,11 @@ public partial class AssistantJobPostings : AssistantBaseCore
|
|||||||
|
|
||||||
protected override bool AllowProfiles => false;
|
protected override bool AllowProfiles => false;
|
||||||
|
|
||||||
|
protected override ChatThread ConvertToChatThread => (this.chatThread ?? new()) with
|
||||||
|
{
|
||||||
|
SystemPrompt = SystemPrompts.DEFAULT,
|
||||||
|
};
|
||||||
|
|
||||||
protected override void ResetFrom()
|
protected override void ResetFrom()
|
||||||
{
|
{
|
||||||
this.inputEntryDate = string.Empty;
|
this.inputEntryDate = string.Empty;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
using AIStudio.Chat;
|
||||||
|
|
||||||
namespace AIStudio.Assistants.LegalCheck;
|
namespace AIStudio.Assistants.LegalCheck;
|
||||||
|
|
||||||
public partial class AssistantLegalCheck : AssistantBaseCore
|
public partial class AssistantLegalCheck : AssistantBaseCore
|
||||||
@ -30,6 +32,11 @@ public partial class AssistantLegalCheck : AssistantBaseCore
|
|||||||
|
|
||||||
protected override bool SubmitDisabled => this.isAgentRunning;
|
protected override bool SubmitDisabled => this.isAgentRunning;
|
||||||
|
|
||||||
|
protected override ChatThread ConvertToChatThread => (this.chatThread ?? new()) with
|
||||||
|
{
|
||||||
|
SystemPrompt = SystemPrompts.DEFAULT,
|
||||||
|
};
|
||||||
|
|
||||||
protected override void ResetFrom()
|
protected override void ResetFrom()
|
||||||
{
|
{
|
||||||
this.inputLegalDocument = string.Empty;
|
this.inputLegalDocument = string.Empty;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
using AIStudio.Chat;
|
||||||
using AIStudio.Settings;
|
using AIStudio.Settings;
|
||||||
|
|
||||||
namespace AIStudio.Assistants.MyTasks;
|
namespace AIStudio.Assistants.MyTasks;
|
||||||
@ -35,6 +36,11 @@ public partial class AssistantMyTasks : AssistantBaseCore
|
|||||||
|
|
||||||
protected override bool ShowProfileSelection => false;
|
protected override bool ShowProfileSelection => false;
|
||||||
|
|
||||||
|
protected override ChatThread ConvertToChatThread => (this.chatThread ?? new()) with
|
||||||
|
{
|
||||||
|
SystemPrompt = SystemPrompts.DEFAULT,
|
||||||
|
};
|
||||||
|
|
||||||
protected override void ResetFrom()
|
protected override void ResetFrom()
|
||||||
{
|
{
|
||||||
this.inputText = string.Empty;
|
this.inputText = string.Empty;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# v0.9.12, build 187 (2024-09-xx xx:xx UTC)
|
# v0.9.12, build 187 (2024-09-xx xx:xx UTC)
|
||||||
- Added a job posting assistant to the business category.
|
- Added a job posting assistant to the business category.
|
||||||
- Fixed margin-related issue in the `ConfigurationText` component.
|
- Fixed margin-related issue in the `ConfigurationText` component.
|
||||||
|
- Fixed chat conversion of job posting, legal check, and my task assistants.
|
||||||
- Refactored the `ConfigurationText` component to debounce the input field to prevent unnecessary configuration updates. The component now also supports multiline text.
|
- Refactored the `ConfigurationText` component to debounce the input field to prevent unnecessary configuration updates. The component now also supports multiline text.
|
Loading…
Reference in New Issue
Block a user