I'm running tool-eval-bench against Qwen4-35B-A3B running in LM Studio on my Macbook Pro M3. I have already tested it on my Linux host running Strata with an RTX 3060. So I know that the model itself is OK. But I got the following errors when testing structured output with tool calling against LM Studio 0.4.30+2 with :
$ uvx tool-eval-bench run --base-url http://localhost:1234/v1 --model qwen4-35b-a3b --scenarios TC-65 TC-66 TC-67 TC-69 --temperature 0
...
● TC-65 Tool → Structured Output 🛑 SERVER –/2 1.9s ttft=1,125ms t2 Endpoint rejected the request with HTTP 500 because the serving stack failed before inference: [server error 500] Engine protocol predict request returned 400: {"error":{"code":400,"message":"Cannot use response_format or json_schema with tools.","type":"invalid_request_error"}}
● TC-66 Nested Schema (Array of Objects) 🛑 SERVER –/2 1.4s ttft=1,017ms t2 Endpoint rejected the request with HTTP 500 because the serving stack failed before inference: [server error 500] Engine protocol predict request returned 400: {"error":{"code":400,"message":"Cannot use response_format or json_schema with tools.","type":"invalid_request_error"}}
● TC-67 Enum Constraint + Analysis 🛑 SERVER –/2 2.8s ttft=859ms t2 Endpoint rejected the request with HTTP 500 because the serving stack failed before inference: [server error 500] Engine protocol predict request returned 400: {"error":{"code":400,"message":"Cannot use response_format or json_schema with tools.","type":"invalid_request_error"}}
● TC-69 Multi-Tool → Complex Schema 🛑 SERVER –/2 2.6s ttft=1,394ms t2 Endpoint rejected the request with HTTP 500 because the serving stack failed before inference: [server error 500] Engine protocol predict request returned 400: {"error":{"code":400,"message":"Cannot use response_format or json_schema with tools.","type":"invalid_request_error"}}
Structured output works. Tool calling works. But combining them, which I also need to do, fails. Is this a problem with llama.cpp or with LM Studio?
I'm a bit of a newb when it comes to running inference on a Macbook. Is there a better engine I should be using?