🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::AgentSession类 参考

#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)
 
ChatMessagesmessages ()
 
AssistantAgentagent () const
 
void setAgent (std::unique_ptr< AssistantAgent > agent)
 
ChatToolstools ()
 
LLMClientclient ()
 
const std::string & lastError () const
 
LLMConfigconfig ()
 
const LLMConfigconfig () const
 
errc_t makeChatCompletion ()
 
void handleToolCalls (const JsonValue &toolCalls)
 

详细描述

智能体会话


该类的文档由以下文件生成: