Files
cursor-byok/server
nanoha e4515dc4e0 fix: omit tools field from provider requests when empty
vLLM and some OpenAI-compatible APIs reject requests containing an
empty `tools: []` array with a 400 Bad Request. This affects the
model connectivity test which sends no tools. Instead of always
including the tools field, conditionally add it only when tools are
present.
2026-08-27 14:02:16 +08:00
..
2026-08-26 15:46:11 +08:00
2026-08-25 20:50:57 +08:00
2026-08-26 20:20:38 +08:00