Commit ff54fb6
authored
Fix/mcp tools deserialization (#64)
* fix: use native SSL on macOS/Windows, remove OpenSSL dependency
- macOS: Use SecureTransport (via Security framework)
- Windows: Use WinSSL/Schannel (via crypt32)
- Remove OpenSSL requirement for faster compilation
- Smaller binaries and better OS security integration
* fix: properly deserialize MCP tools from extensions in ResponsesRequest
- Fix tools being cleared but not re-added from extensions
- Convert JSON tools array to ToolVariant vector correctly
- Properly deserialize McpTool from JSON in ResponsesRequest::fromLLMRequest
This ensures MCP tools are properly included in API requests to OpenAI1 parent 7e80e8e commit ff54fb6
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
| |||
0 commit comments