openmanus.cpp/include/manus.h

35 lines
643 B
C++
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#ifndef OPENMANUS_MANUS_H
#define OPENMANUS_MANUS_H
#include <string>
#include <memory>
#include "tool_call_agent.h"
namespace openmanus {
/**
* @class Manus
* @brief Manus代理一个通用的智能助手
*/
class Manus : public ToolCallAgent {
public:
/**
* @brief 构造函数
* @param config_file 配置文件路径
*/
Manus(const std::string& config_file = "config.toml");
virtual ~Manus() = default;
/**
* @brief 初始化代理
*/
void initialize();
private:
// 添加特定于Manus的工具
void addManusTools();
};
} // namespace openmanus
#endif // OPENMANUS_MANUS_H