A few reproducible observations from the current K2-Horizon public artifacts

#11
by Sahalk7 - opened

Hi Hector / K2 team,
After the previous issue was fixed, I kept looking through the current public K2-Horizon files and found a few more things that I think are worth flagging.
These are separate from the content-handling issue that was just fixed.

  1. XML tool-call rendering
    In the xml / xml_typed tool-call formats, I can make two different tool-call argument structures render to the exact same prompt text. I reproduced this with valid tool names and the same tool schema on both sides.
  2. Some schema information disappears in markdown/XML
    Root additionalProperties and patternProperties can be accepted by the template but not actually shown in the markdown/XML tool presentation.
    I also found a related case where Pydantic generates propertyNames with a $ref, but markdown/XML only show the $ref pointer and not the referenced enum values. JSON keeps the full information.
  3. Tools without parameters raise
    If a function tool simply omits the parameters field, the K2 template raises a TemplateError.
    Using "parameters": {} works normally.
    The reason I thought this was worth mentioning is that the OpenAI function-definition format allows parameters to be omitted for functions with no parameters.
  4. Small vLLM documentation mismatch in the 0.9B appendix
    The 0.9B APPENDIX.md example reads:
    reasoning_content
    but current vLLM exposes that response field as:
    reasoning
    so the example can read an empty value with current vLLM.
    I tested these using the public templates/source files only. No model inference or live server testing was involved.
    I have small repro cases, the exact revisions/hashes I checked, and controls for each one, so I’m happy to post them here if useful.
    Also, thanks again for fixing the previous issue — it was really nice to see the feedback actually make it into the project.
    For completeness, I'm adding the full technical note below with the exact revisions, reproductions, controls and scope boundaries I used for these findings.

reminder @hunterhector

Sign up or log in to comment