AskaEth
4ea68d17f3
refactor(gateway+model): 拆 gateway/server.go 719→204 + 重构 scanSSE/processFrom 到 ≤80行
- server.go 204 + 新 routes.go(193,路由注册/Handler/withMiddleware)/deps.go(108)/contracts.go(231,17依赖接口)/broadcast.go(78,BroadcastPersisted/CapacityAwaken/Mood); 导出面不变; 74条路由pattern+RBAC门逐条比对一致
- model/openai_stream.go: scanSSE 138→25(parse/apply/finalize 对齐 anthropic_stream); openaiStreamState结构体
- channelbridge/inbound.go: processFrom 112→46(blacklistDrop/inboundTargetFor/runInboundTurn/deliverReply)
- 纯行为等价; build/vet/test绿(56包)+win/darwin交叉编译
2026-09-30 11:58:49 +08:00
..
2026-09-30 08:51:38 +08:00
2026-09-08 16:26:35 +08:00
2026-09-08 16:26:35 +08:00
2026-09-08 23:59:13 +08:00
2026-09-30 08:51:38 +08:00
2026-09-30 08:51:38 +08:00
2026-09-07 18:16:55 +08:00
2026-09-07 18:16:55 +08:00
2026-09-07 18:16:55 +08:00
2026-09-07 12:18:21 +08:00
2026-09-07 12:18:21 +08:00
2026-09-30 08:51:38 +08:00
2026-09-30 11:58:49 +08:00
2026-09-07 18:35:50 +08:00
2026-09-07 18:16:55 +08:00
2026-09-30 08:51:38 +08:00
2026-09-30 08:51:38 +08:00
2026-09-08 13:34:22 +08:00
2026-09-30 08:51:38 +08:00
2026-09-07 13:29:41 +08:00
2026-09-07 13:29:41 +08:00
2026-09-07 20:29:47 +08:00
2026-09-07 20:29:47 +08:00
2026-09-07 18:35:50 +08:00
2026-09-07 18:35:50 +08:00