René's URL Explorer Experiment


Title: fix(chat): support tool_choice in Qwen3.5-VL chat handler by abdullah-cod9 · Pull Request #108 · JamePeng/llama-cpp-python · GitHub

Open Graph Title: fix(chat): support tool_choice in Qwen3.5-VL chat handler by abdullah-cod9 · Pull Request #108 · JamePeng/llama-cpp-python

X Title: fix(chat): support tool_choice in Qwen3.5-VL chat handler by abdullah-cod9 · Pull Request #108 · JamePeng/llama-cpp-python

Description: Python bindings for llama.cpp. Contribute to JamePeng/llama-cpp-python development by creating an account on GitHub.

Open Graph Description: Problem tool_choice parameter is ignored in Qwen35ChatHandler. Tools are always injected into the prompt regardless of the value passed, because the chat template never references tool_choice. Root...

X Description: Problem tool_choice parameter is ignored in Qwen35ChatHandler. Tools are always injected into the prompt regardless of the value passed, because the chat template never references tool_choice. Root...

Opengraph URL: https://github.com/JamePeng/llama-cpp-python/pull/108

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b433ef23-bfa7-f782-2a21-5ee521fb2208
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA026:16F27B:19663F1:24542BA:6A635DAF
html-safe-noncefff7e2d00c82a5bbac32a7a60cb69fbe15263780f151b6b34119bf5b7a92f0f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDI2OjE2RjI3QjoxOTY2M0YxOjI0NTQyQkE6NkE2MzVEQUYiLCJ2aXNpdG9yX2lkIjoiNzgwNzcxMTExOTQ5NTM1NTgyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0bcf2b48272989a4771974ae48ab183e7c5c941567eee9f6f87a99582d970842
hovercard-subject-tagpull_request:3491958532
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/JamePeng/llama-cpp-python/108/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/663bad1b9d9943a8362d60f011fccc870a15fe0349bb077baa4c752f34457378/JamePeng/llama-cpp-python/pull/108
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/663bad1b9d9943a8362d60f011fccc870a15fe0349bb077baa4c752f34457378/JamePeng/llama-cpp-python/pull/108
og:image:altProblem tool_choice parameter is ignored in Qwen35ChatHandler. Tools are always injected into the prompt regardless of the value passed, because the chat template never references tool_choice. Root...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabdullah-cod9
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
turbo-cache-controlno-cache
go-importgithub.com/JamePeng/llama-cpp-python git https://github.com/JamePeng/llama-cpp-python.git
octolytics-dimension-user_id17095606
octolytics-dimension-user_loginJamePeng
octolytics-dimension-repository_id920296412
octolytics-dimension-repository_nwoJamePeng/llama-cpp-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id617868717
octolytics-dimension-repository_parent_nwoabetlen/llama-cpp-python
octolytics-dimension-repository_network_root_id617868717
octolytics-dimension-repository_network_root_nwoabetlen/llama-cpp-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release71b1218de2f2ab29c4d5ce72568e68e2c56044c6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JamePeng/llama-cpp-python/pull/108#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJamePeng%2Fllama-cpp-python%2Fpull%2F108
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJamePeng%2Fllama-cpp-python%2Fpull%2F108
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=JamePeng%2Fllama-cpp-python
Reloadhttps://github.com/JamePeng/llama-cpp-python/pull/108
Reloadhttps://github.com/JamePeng/llama-cpp-python/pull/108
Reloadhttps://github.com/JamePeng/llama-cpp-python/pull/108
JamePeng https://github.com/JamePeng
llama-cpp-pythonhttps://github.com/JamePeng/llama-cpp-python
abetlen/llama-cpp-pythonhttps://github.com/abetlen/llama-cpp-python
Notifications https://github.com/login?return_to=%2FJamePeng%2Fllama-cpp-python
Fork 60 https://github.com/login?return_to=%2FJamePeng%2Fllama-cpp-python
Star 481 https://github.com/login?return_to=%2FJamePeng%2Fllama-cpp-python
Code https://github.com/JamePeng/llama-cpp-python
Issues 4 https://github.com/JamePeng/llama-cpp-python/issues
Pull requests 0 https://github.com/JamePeng/llama-cpp-python/pulls
Discussions https://github.com/JamePeng/llama-cpp-python/discussions
Actions https://github.com/JamePeng/llama-cpp-python/actions
Projects https://github.com/JamePeng/llama-cpp-python/projects
Wiki https://github.com/JamePeng/llama-cpp-python/wiki
Security and quality 0 https://github.com/JamePeng/llama-cpp-python/security
Insights https://github.com/JamePeng/llama-cpp-python/pulse
Code https://github.com/JamePeng/llama-cpp-python
Issues https://github.com/JamePeng/llama-cpp-python/issues
Pull requests https://github.com/JamePeng/llama-cpp-python/pulls
Discussions https://github.com/JamePeng/llama-cpp-python/discussions
Actions https://github.com/JamePeng/llama-cpp-python/actions
Projects https://github.com/JamePeng/llama-cpp-python/projects
Wiki https://github.com/JamePeng/llama-cpp-python/wiki
Security and quality https://github.com/JamePeng/llama-cpp-python/security
Insights https://github.com/JamePeng/llama-cpp-python/pulse
abdullah-cod9https://github.com/abdullah-cod9
JamePeng:mainhttps://github.com/JamePeng/llama-cpp-python/tree/main
abdullah-cod9:mainhttps://github.com/abdullah-cod9/llama-cpp-python/tree/main
Conversationhttps://github.com/JamePeng/llama-cpp-python/pull/108
Commits1 (1)https://github.com/JamePeng/llama-cpp-python/pull/108/commits
Checkshttps://github.com/JamePeng/llama-cpp-python/pull/108/checks
Files changedhttps://github.com/JamePeng/llama-cpp-python/pull/108/files
fix(chat): support tool_choice in Qwen3.5-VL chat handlerhttps://github.com/JamePeng/llama-cpp-python/pull/108#top
abdullah-cod9https://github.com/abdullah-cod9
JamePeng:mainhttps://github.com/JamePeng/llama-cpp-python/tree/main
abdullah-cod9:mainhttps://github.com/abdullah-cod9/llama-cpp-python/tree/main
https://github.com/abdullah-cod9
abdullah-cod9https://github.com/abdullah-cod9
Apr 6, 2026https://github.com/JamePeng/llama-cpp-python/pull/108#issue-4210192846
#107https://github.com/JamePeng/llama-cpp-python/issues/107
Please reload this pagehttps://github.com/JamePeng/llama-cpp-python/pull/108
https://github.com/abdullah-cod9
fix(chat): support tool_choice in Qwen3.5-VL chat handlerhttps://github.com/JamePeng/llama-cpp-python/pull/108/commits/cd9388ac71fb989c3a590668fb3542f5b85a8fdb
cd9388ahttps://github.com/JamePeng/llama-cpp-python/pull/108/commits/cd9388ac71fb989c3a590668fb3542f5b85a8fdb
https://github.com/JamePeng
JamePenghttps://github.com/JamePeng
Apr 6, 2026https://github.com/JamePeng/llama-cpp-python/pull/108#issuecomment-4191053910
Please reload this pagehttps://github.com/JamePeng/llama-cpp-python/pull/108
https://huggingface.co/Qwen/Qwen3.5-9B/blob/main/chat_template.jinjahttps://huggingface.co/Qwen/Qwen3.5-9B/blob/main/chat_template.jinja
Please reload this pagehttps://github.com/JamePeng/llama-cpp-python/pull/108
https://github.com/abdullah-cod9
abdullah-cod9https://github.com/abdullah-cod9
Apr 6, 2026https://github.com/JamePeng/llama-cpp-python/pull/108#issuecomment-4191307594
https://huggingface.co/Qwen/Qwen3.5-9B/blob/main/chat_template.jinjahttps://huggingface.co/Qwen/Qwen3.5-9B/blob/main/chat_template.jinja
Please reload this pagehttps://github.com/JamePeng/llama-cpp-python/pull/108
https://github.com/JamePeng
JamePenghttps://github.com/JamePeng
Apr 6, 2026https://github.com/JamePeng/llama-cpp-python/pull/108#issuecomment-4191743497
Please reload this pagehttps://github.com/JamePeng/llama-cpp-python/pull/108
https://github.com/abdullah-cod9
abdullah-cod9https://github.com/abdullah-cod9
Apr 6, 2026https://github.com/JamePeng/llama-cpp-python/pull/108#issuecomment-4192444379
Please reload this pagehttps://github.com/JamePeng/llama-cpp-python/pull/108
https://github.com/abdullah-cod9
abdullah-cod9https://github.com/abdullah-cod9
April 7, 2026 11:57https://github.com/JamePeng/llama-cpp-python/pull/108#event-24255651764
https://github.com/abdullah-cod9
abdullah-cod9https://github.com/abdullah-cod9
Apr 7, 2026https://github.com/JamePeng/llama-cpp-python/pull/108#event-24255658369
https://github.co/hiddenchars
https://github.com/JamePeng/llama-cpp-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJamePeng%2Fllama-cpp-python%2Fpull%2F108
[Bug]: tool_choice Not Respected in Qwen3.5-VL: Tools Triggered on Every Request https://github.com/JamePeng/llama-cpp-python/issues/107
Please reload this pagehttps://github.com/JamePeng/llama-cpp-python/pull/108
https://github.com/abdullah-cod9
https://github.com/JamePeng
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.