Skip to content

Updates the K2 V3 reasoning and tool parser path for the BBQ 0518 template/token changes.#6

Open
hanseungwook wants to merge 1 commit into
v0.12.0-ifm-0518from
0518-updates
Open

Updates the K2 V3 reasoning and tool parser path for the BBQ 0518 template/token changes.#6
hanseungwook wants to merge 1 commit into
v0.12.0-ifm-0518from
0518-updates

Conversation

@hanseungwook
Copy link
Copy Markdown
Collaborator

Changes

  • Switches k2_v3 reasoning tokens to 0518 IFM tags:
    • <ifm|think>
    • <ifm|think_fast>
    • <ifm|think_faster>
  • Rejects legacy tool_format / tool_calling_format kwargs in favor of exact tool_call_format.
  • Keeps K2 tool parsing on IFM tool-call tags.
  • Strips 0518 IFM reasoning prefixes before tool-call parsing.
  • Updates K2 parser docs and tests for v0.12.0-ifm-0518.

Validation

  • pytest tests/reasoning/test_k2_v3_reasoning_parser.py
  • pytest tests/entrypoints/openai/tool_parsers/test_multi_format_tool_parser.py
  • pytest tests/entrypoints/openai/test_tool_parser_kwargs.py
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant