跳到正文
GitHub · 灵魂体仓库·· 20 天前精选AI 评分61

larryhou/llm-go 开源:opencode LLM 处理层的 Go 移植

larryhou/llm-go

来源与原文

GitHub · 灵魂体仓库

发布时间:(北京时间)

阅读原始来源 · github.com ↗
完整链接与内容说明

https://github.com/larryhou/llm-go

本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。

AI 导读

larryhou 在 GitHub 开源 llm-go,将 opencode 的 LLM 处理层移植为可组合的 Go 包,提供流式对话、agentic 工具调用循环、自动上下文压缩和可插拔知识检索。支持 Anthropic 与 OpenAI 兼容两种 provider 适配器,带 doom-loop 检测、RecordProvider 会话录制回放和 llm-api HTTP 服务器,配置 schema 兼容 opencode。

推荐理由

将 opencode 的 LLM 处理层移植为可组合的 Go 包,上下文压缩与会话回放设计可直接复用到自己的 Agent 项目里。

来源:GitHub · 灵魂体仓库 · github.com