|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <AgentSession.hpp>
类 ast::AgentSession 继承关系图:额外继承的成员函数 | |
Public 成员函数 继承自 ast::ChatSession | |
| ChatSession () | |
| std::string | chat (StringView message, int maxIterForToolCalls=100) |
| std::string | chatStream (StringView message, ChatEventHandler &handler, int maxIterForToolCalls=100) |
| errc_t | sendMessage (StringView message) |
| void | setSystemPrompt (StringView systemPrompt) |
| ChatMessages & | messages () |
| AssistantAgent & | agent () const |
| void | setAgent (std::unique_ptr< AssistantAgent > agent) |
| ChatTools & | tools () |
| LLMClient & | client () |
| const std::string & | lastError () const |
| LLMConfig & | config () |
| const LLMConfig & | config () const |
| errc_t | makeChatCompletion () |
| void | handleToolCalls (const JsonValue &toolCalls) |
智能体会话