(feature)(chat)Add switch to enable LLM-based memory review, as it leads to more token costs. #1385

This commit is contained in:
jerryjzhang
2024-07-10 21:08:02 +08:00
parent 78a91ad8c2
commit 9bb95ca4be
7 changed files with 19 additions and 5 deletions

View File

@@ -354,4 +354,7 @@ alter table s2_agent add column `prompt_config` varchar(6000) COLLATE utf8_unico
--20240707
alter table s2_agent add model_config varchar(6000) null;
alter table s2_agent add `prompt_config` varchar(5000) COLLATE utf8_unicode_ci DEFAULT NULL;
alter table s2_agent add `prompt_config` varchar(5000) COLLATE utf8_unicode_ci DEFAULT NULL;
--20240710
alter table s2_agent add enable_memory_review tinyint DEFAULT 0;

View File

@@ -383,6 +383,7 @@ CREATE TABLE IF NOT EXISTS s2_agent
updated_by varchar(100) null,
updated_at TIMESTAMP null,
enable_search int null,
enable_memory_review int null,
PRIMARY KEY (`id`)
); COMMENT ON TABLE s2_agent IS 'agent information table';

View File

@@ -383,6 +383,7 @@ CREATE TABLE IF NOT EXISTS s2_agent
updated_by varchar(100) null,
updated_at TIMESTAMP null,
enable_search int null,
enable_memory_review int null,
PRIMARY KEY (`id`)
); COMMENT ON TABLE s2_agent IS 'agent information table';