Skip to content

Guard contextual BFCL extra tool calls - #59

Closed
SonAIengine wants to merge 2 commits into
codex/bfcl-repeated-argument-guidancefrom
codex/bfcl-extra-tool-call-guard
Closed

Guard contextual BFCL extra tool calls#59
SonAIengine wants to merge 2 commits into
codex/bfcl-repeated-argument-guidancefrom
codex/bfcl-extra-tool-call-guard

Conversation

@SonAIengine

Copy link
Copy Markdown
Owner

Summary

  • suppress model-facing contextual extra tools for single-action BFCL queries with trailing impact/effect noun phrases
  • keep explicit second-action queries intact by expanding multi-intent detection
  • document the recovered multiple_7 Qwen smoke and representative 4-case smoke

Verification

  • poetry run ruff check .
  • poetry run ruff format --check .
  • poetry run pytest tests/test_bfcl_tool_selection_llm_loop.py -q
  • poetry run pytest tests/ -q
  • qwen3.6-27b multiple_7 row smoke: /tmp/gtc-bfcl-extra-tool-fixed-multiple7-row-qwen.json
  • qwen3.6-27b multiple_7 retrieved smoke: /tmp/gtc-bfcl-extra-tool-fixed-multiple7-retrieved-qwen.json
  • qwen3.6-27b recovered 4-case smoke: /tmp/gtc-bfcl-extra-tool-recovered4-qwen.json

@SonAIengine

Copy link
Copy Markdown
Owner Author

Closing this internal stacked PR as superseded by the current main branch. The branch is preserved for history.

@SonAIengine SonAIengine closed this Aug 2, 2026
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