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

Sign up or log in to comment