mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-09-21 09:28:14 +00:00
d4956c23f0a2dee2bdbc4fe7b7e75fc960356c6e
- StageContext 新增 ReasoningContent + TokenUsage 字段 - emitResponse 将 reasoning_content / usage 传入 Payload - /v1/chat/completions: - 非流式返回 reasoning_content + token_usage - 流式 (stream=true) SSE 分块返回 reasoning/content/finish chunk - token_usage 来自精确 LLM 回报而非估算
HomeAgent
24/7 智能管家。核心零 IO,一切外界交互来自插件。
📖 项目概览(非技术) · 🔧 插件开发指南 · 🏗️ 技术架构 · 📋 实施计划
快速体验
# 构建
make build
# 启动内核(需要 DeepSeek API 密钥)
DEEPSEEK_API_KEY="sk-xxx" ./build/homed -data /tmp/ha
# 在另一个终端聊天
echo "你好" | ./build/waiter -socket /tmp/ha/cli.sock
架构一句话
homed(内核零 IO)← PluginSDK → 插件(所有 IO 能力)
依赖:Go 1.19+, CGo (go-sqlite3), Linux。
Languages
Go
74.6%
JavaScript
12.8%
HTML
3.9%
CSS
3.1%
Python
2.4%
Other
3.1%