mcp: add optional url parameter to tools

This commit is contained in:
Adrià Arrufat
2026-02-27 22:17:15 +09:00
parent 8c8a05b8c1
commit 5ec4305a9f
3 changed files with 66 additions and 15 deletions

View File

@@ -96,7 +96,7 @@ pub const McpServer = struct {
self.queue_mutex.lock();
self.message_queue.append(self.allocator, msg) catch |err| {
lp.log.err(.app, "MCP Error: Failed to queue message", .{ .err = err });
lp.log.err(.app, "MCP Queue failed", .{ .err = err });
self.allocator.free(msg);
};
self.queue_mutex.unlock();