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-08 21:45:00 +08:00
2026-09-06 04:26:02 +08:00
2026-09-08 23:20:12 +08:00
2026-09-07 21:32:19 +08:00
2026-09-09 00:08:29 +08:00
2026-09-08 23:59:13 +08:00
2026-09-08 21:36:03 +08:00
2026-09-06 15:53:48 +08:00
2026-09-06 05:22:00 +08:00
2026-09-30 08:51:38 +08:00
2026-09-06 04:17:20 +08:00
2026-09-30 11:58:49 +08:00
2026-09-30 11:58:49 +08:00
2026-09-08 02:53:01 +08:00
2026-09-06 08:10:35 +08:00
2026-09-05 23:09:26 +08:00