feat: Enhance AgentChatWidget with system prompt management and project settings
- Updated system prompt loading functionality to support both version 1 and version 2 prompts, allowing users to load built-in prompts directly. - Implemented custom system prompt loading and saving capabilities, enabling users to manage their prompts more effectively. - Added methods to load and save agent settings from/to project files, including AI provider configurations and custom prompts. - Improved user feedback with toast notifications for successful and failed operations related to system prompts and settings.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "app/emu/emulator.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
|
||||
#include "app/core/platform/file_dialog.h"
|
||||
|
||||
Reference in New Issue
Block a user