33 lines
753 B
YAML
33 lines
753 B
YAML
# Memory Gateway 配置示例
|
||
# 复制为 config.yaml 并根据实际情况修改
|
||
|
||
# Memory Gateway 服务配置
|
||
server:
|
||
# 监听地址,0.0.0.0 表示接受所有网卡(局域网可访问)
|
||
host: "0.0.0.0"
|
||
# MCP Server 端口
|
||
port: 1934
|
||
# 可选:API Key 认证,客户端需要提供相同的 Key
|
||
api_key: ""
|
||
|
||
# OpenViking 后端配置
|
||
openviking:
|
||
# OpenViking 服务器地址
|
||
url: "http://localhost:1933"
|
||
# OpenViking API Key(如有)
|
||
api_key: ""
|
||
# 请求超时时间(秒)
|
||
timeout: 30
|
||
|
||
# 记忆配置
|
||
memory:
|
||
# 默认命名空间
|
||
default_namespace: "soc"
|
||
# 默认搜索返回数量
|
||
search_limit: 10
|
||
|
||
# 日志配置
|
||
logging:
|
||
level: "INFO"
|
||
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|