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:
@@ -32,8 +32,8 @@ build.bat
|
||||
```
|
||||
|
||||
编译产物输出到 `build/` 目录。核心产物:
|
||||
- `build/dstalk-core/dstalk.dll` —— 核心 DLL
|
||||
- `build/dstalk-cli/dstalk-cli.exe` —— 命令行前端
|
||||
- `build/dstalk_core/dstalk.dll` —— 核心 DLL
|
||||
- `build/dstalk_cli/dstalk_cli.exe` —— 命令行前端
|
||||
- `build/plugins/*.dll` —— 功能插件
|
||||
|
||||
---
|
||||
@@ -69,10 +69,10 @@ api.model = "gpt-4o"
|
||||
|
||||
---
|
||||
|
||||
## 4. 运行 dstalk-cli
|
||||
## 4. 运行 dstalk_cli
|
||||
|
||||
```bash
|
||||
build/dstalk-cli/dstalk-cli.exe
|
||||
build/dstalk_cli/dstalk_cli.exe
|
||||
```
|
||||
|
||||
启动后显示欢迎横幅:
|
||||
|
||||
Reference in New Issue
Block a user