feat(robot_agent): 基于 libhttp 的 DeepSeek 视觉机器人 agent 骨架
- 工具循环:capture_image / get_robot_status / spawn_subagent - 子代理:技能超集(run_command 带超时截断、read_file / write_file) - V4L2 摄像头抓帧:MJPEG 优先零转码,YUYV+libjpeg 回退,/dev/video* 自动探测 - 时间戳注入:system prompt 会话级当前时间 + 工具结果执行时间 - CLI:--prompt-file / --camera / --camera-device / --model / --max-turns
This commit is contained in:
1 parent
2dc79f0637
commit
7e44025671
12 files changed
+1132
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "agent.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
// 子代理:拥有命令行执行、文件读写等扩展技能(主代理的超集),
|
||||
// 完成主代理委派的任务后返回结论文本。
|
||||
std::string run_subagent(const AgentConfig& cfg, const std::string& task);
|
||||
Reference in new issue
Block a user