hf2q 0.1.6

Pure Rust CLI for converting HuggingFace models to hardware-optimized formats and serving them over an OpenAI-compatible API on Apple Silicon
1
2
3
4
5
6
7
8
($seed[0].messages | length) as $seed_messages
| (.tools | type) == "array"
  and (.tools | length) >= 1
  and .tools == $seed[0].tools
  and .tool_choice == "auto"
  and .tool_choice == $seed[0].tool_choice
  and .messages[0:$seed_messages] == $seed[0].messages
  and (.messages | length) == ($seed_messages + 2)