refactor: Move to 0.7.0 version of llmqore

This commit is contained in:
Petr Mironychev
2026-06-30 10:23:17 +02:00
parent 2a3fd4f5be
commit f688b53703
2 changed files with 11 additions and 9 deletions

View File

@@ -22,9 +22,12 @@ class ToolsManager;
namespace LLMQore::Mcp {
class McpClient;
class McpTransport;
} // namespace LLMQore::Mcp
namespace LLMQore::Rpc {
class Transport;
} // namespace LLMQore::Rpc
namespace QodeAssist::Mcp {
enum class McpTransportKind { Http, Stdio };
@@ -84,14 +87,14 @@ private:
void setState(McpConnectionState state, const QString &text = {});
void fetchAndRegisterTools();
void unregisterTools();
::LLMQore::Mcp::McpTransport *createTransport();
::LLMQore::Rpc::Transport *createTransport();
McpServerConfig m_config;
McpConnectionState m_state = McpConnectionState::Disabled;
QString m_statusText;
QPointer<::LLMQore::Mcp::McpClient> m_client;
QPointer<::LLMQore::Mcp::McpTransport> m_transport;
QPointer<::LLMQore::Rpc::Transport> m_transport;
QPointer<QTimer> m_listToolsWatchdog;
QList<::LLMQore::Mcp::ToolInfo> m_tools;