mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-10-10 05:54:30 -04:00
* refactor: Move http client into provider * refactor: Rework ollama provider for work with internal http client * refactor: Rework LM Studio provider to work with internal http client * refactor: Rework Mistral AI to work with internal http client * fix: Replace url and header to QNetworkRequest * refactor: Rework Google provider to use internal http client * refactor: OpenAI compatible providers switch to use internal http client * fix: Remove m_requestHandler from tests * refactor: Remove old handleData method * fix: Remove LLMClientInterfaceTest
32 lines
776 B
CMake
32 lines
776 B
CMake
add_library(LLMCore STATIC
|
|
RequestType.hpp
|
|
Provider.hpp Provider.cpp
|
|
ProvidersManager.hpp ProvidersManager.cpp
|
|
ContextData.hpp
|
|
IPromptProvider.hpp
|
|
IProviderRegistry.hpp
|
|
PromptProviderChat.hpp
|
|
PromptProviderFim.hpp
|
|
PromptTemplate.hpp
|
|
PromptTemplateManager.hpp PromptTemplateManager.cpp
|
|
RequestConfig.hpp
|
|
OllamaMessage.hpp OllamaMessage.cpp
|
|
OpenAIMessage.hpp OpenAIMessage.cpp
|
|
ValidationUtils.hpp ValidationUtils.cpp
|
|
ProviderID.hpp
|
|
HttpClient.hpp HttpClient.cpp
|
|
)
|
|
|
|
target_link_libraries(LLMCore
|
|
PUBLIC
|
|
Qt::Core
|
|
Qt::Network
|
|
QtCreator::Core
|
|
QtCreator::Utils
|
|
QtCreator::ExtensionSystem
|
|
PRIVATE
|
|
QodeAssistLogger
|
|
)
|
|
|
|
target_include_directories(LLMCore PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|