mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-19 13:04:21 +08:00
(feature)(chat)Add switch to enable LLM-based memory review, as it leads to more token costs. #1385
This commit is contained in:
@@ -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;
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user