OpenAI compatible tool calling?

#7
by satorean - opened

Does this agentic model support only chat completions or also OpenAI compatible tool calling via llama.cpp?

would be nice to have not just what is 2+2= test prompts but a small demo server that shows agentic tool calling in action.

Ok I found this in the README.md:
Tool Calling
For tool / function calling, SGLang is the recommended backend. MiniCPM5-1B emits XML-style tool calls and SGLang's built-in minicpm5 parser converts them to OpenAI-compatible tool_calls natively:

python -m sglang.launch_server --model-path openbmb/MiniCPM5-1B --port 30000
--tool-call-parser minicpm5 # or: --tool-call-parser auto

would be nice to have this working with llama.cpp as well

Thanks for raising this!

For llama.cpp, chat completions are supported today. For tool calling, we recommend SGLang or vLLM, which handle MiniCPM5’s tool call format natively (e.g. SGLang with --tool-call-parser minicpm5).

OpenBMB-LLM changed discussion status to closed

Sign up or log in to comment