Skip to content

Commit 97affbb

Browse files
authored
Merge pull request #49 from chatchat-space/feature/docker
Feature/docker
2 parents 74c863b + 53288a4 commit 97affbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/chatchat-server/chatchat/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ class ToolSettings(BaseFileSettings):
520520
"""
521521
RECURSION_LIMIT: int = 50
522522

523+
GRAPH_MEMORY_TYPE: t.Literal["memory", "sqlite", "postgres"] = "sqlite"
523524
"""
524525
langgraph 历史记录类型。
525526
如果设为 memory, 无法持久化,仅在程序运行期间用于获取历史消息。
@@ -529,7 +530,6 @@ class ToolSettings(BaseFileSettings):
529530
POSTGRESQL_GRAPH_CONNECTION_POOLS_MAX_SIZE
530531
POSTGRESQL_GRAPH_CONNECTION_POOLS_KWARGS 等配置
531532
"""
532-
GRAPH_MEMORY_TYPE: t.Literal["memory", "sqlite", "postgres"] = "sqlite"
533533

534534
# """本地知识库工具配置项"""
535535
# search_local_knowledgebase: dict = {

0 commit comments

Comments
 (0)