feat: add OpenAI-compatible AI provider plugin with SSE streaming support
- Implemented the OpenAI-compatible AI provider plugin, including configuration, chat, and chat_stream functionalities. - Added support for SSE streaming and tool calls. - Integrated Boost.JSON for JSON handling. - Created CMake configuration for the plugin. - Added error handling and logging throughout the plugin.
This commit is contained in:
17
dstalk_cli/CMakeLists.txt
Normal file
17
dstalk_cli/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
# ============================================================
|
||||
# dstalk_cli — 命令行前端 (ANSI 转义码)
|
||||
# ============================================================
|
||||
|
||||
add_executable(dstalk_cli
|
||||
src/main.cpp
|
||||
)
|
||||
|
||||
set_target_properties(dstalk_cli PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
)
|
||||
|
||||
find_package(Boost REQUIRED CONFIG)
|
||||
|
||||
target_link_libraries(dstalk_cli
|
||||
PRIVATE dstalk boost::boost dstalk_boost_config
|
||||
)
|
||||
Reference in New Issue
Block a user