M0:灵台 Kernel 骨架(事件溯源/命台席位/瀑布总线/插件注册)与神识客户端边界,新增 POST /runs 占位闭环与测试,Alembic 基线合并为单一起点
This commit is contained in:
1 parent
99e55fa0a8
commit
7ef3a15061
23 files changed
+2014
-1399
No files matched your search
@@ -14,6 +14,11 @@ class RuntimeConfig(BaseSettings):
|
||||
sse_poll_interval_seconds: float = 0.01 # SSE 轮询间隔(秒,10ms:前端逐段平滑增量)
|
||||
sse_heartbeat_seconds: float = 15.0 # SSE 心跳间隔(秒)
|
||||
run_timeout_seconds: int = 120 # 运行超时时间(秒)
|
||||
|
||||
# ==================== 神识(模型网关,rewrite/1.0) ====================
|
||||
shenshi_base_url: str = "" # 神识服务地址;为空时 Kernel 使用进程内回声桩(M0 骨架)
|
||||
shenshi_service_token: str = "" # 灵台→神识服务令牌(开发档可空)
|
||||
shenshi_timeout_seconds: float = 120.0 # 神识流式调用超时(秒)
|
||||
# Agent 循环最大轮数:模型每轮仍带工具调用则继续,超限截断返回(见 agent.runtime.DEFAULT_MAX_ITERATIONS)
|
||||
agent_max_iterations: int = 8
|
||||
# 单次高风险工具确认挂起超时(秒):须小于 run_timeout_seconds,超时按拒绝处理;
|
||||
|
||||
Reference in new issue
Block a user