Download common/jinja/caps.h from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 857 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/common/jinja/caps.h
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github/common/jinja/caps.h
-
curl -L -o caps.h https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/common/jinja/caps.h
857 Bytes
| namespace jinja { | |
| struct caps { | |
| bool supports_tools = true; | |
| bool supports_tool_calls = true; | |
| bool supports_system_role = true; | |
| bool supports_parallel_tool_calls = true; | |
| // supports preserve reasoning trace in the full history, not just the last assistant message | |
| bool supports_preserve_reasoning = false; | |
| // one of the 2 content capabilities must be true | |
| bool supports_string_content = true; | |
| bool supports_typed_content = false; | |
| bool supports_object_arguments = false; | |
| // for reporting on server | |
| std::map<std::string, bool> to_map() const; | |
| // for debugging | |
| std::string to_string() const; | |
| }; | |
| caps caps_get(jinja::program & prog); | |
| void caps_apply_preserve_reasoning(jinja::context & ctx, bool enabled); | |
| } // namespace jinja | |