Skip to content

Commit db3cadd

Browse files
authored
Make work on 1.11
1 parent be66d9c commit db3cadd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/server.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ LLM Benchmark MCP Server implementation
33
"""
44

55
# Load Revise once per process using OncePerProcess
6+
if VERSION < v"1.12"
7+
const load_revise = (args...,)->error("Only supported on 1.12")
8+
else
69
const load_revise = Base.OncePerProcess{Union{Module,Nothing}}() do
710
try
811
# Use PkgId to load Revise
@@ -13,6 +16,7 @@ const load_revise = Base.OncePerProcess{Union{Module,Nothing}}() do
1316
return nothing
1417
end
1518
end
19+
end
1620

1721
"""
1822
Run the Unix socket server with optional Revise support.

0 commit comments

Comments
 (0)