-
Notifications
You must be signed in to change notification settings - Fork 70
(feature) llamacpp-llm: dynamic tools #706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
bb2d249
(improvement) llamacpp-llm: Qwen3 dynamic tools template
mialso b9ed672
(improvement) llamacpp-llm: add llm config tools flag
mialso 48cedbd
(improvement) llamacpp-llm: use template based on tools param
mialso 3bf572d
(improvement) llamacpp-llm: count tools token offset with tokenizer
mialso d63ad92
(improvement) llamacpp-llm: track n-past, run Qwen3 tests, fix reset
mialso 9a75956
(improvement) llamacpp-llm: save cache with respect to tools flag
mialso 83f2d8b
(fix) llamacpp-llm: add Qwen3ToolsDynamicTemplate.cpp to production C…
DmitryMalishev 9f97519
chore: retrigger CI for CMakeLists fix
DmitryMalishev 0f23162
(fix) llamacpp-llm: fix use-after-free SIGSEGV on process exit (linux)
DmitryMalishev f3adb55
Revert "(fix) llamacpp-llm: fix use-after-free SIGSEGV on process exi…
DmitryMalishev c1eab4a
(fix) llamacpp-llm: robust threadpool teardown to prevent SIGSEGV on …
DmitryMalishev 7bd6fc2
Revert "(fix) llamacpp-llm: robust threadpool teardown to prevent SIG…
DmitryMalishev b5fe234
fix(llm): reset stale state before non-cached run after prefill
DmitryMalishev 3cba2d2
fix(llm): trim stale tool tokens in multi-turn sessions with tools_at…
DmitryMalishev d305c92
(fix) llamacpp-llm: dynamic tools cache trim, tmp template, debugs
mialso 2d74bf9
fix(llm): pass toolsAtEnd flag to context constructors to fix templat…
olyasir 22e4c89
feat(llm): strip tool_call/think blocks from re-sent assistant responses
olyasir b6dae3a
(fix) llamacpp-llm: use correct template in tests
mialso 31b2069
(chore) llamacpp-llm: move qwen3 cache tests to own file
mialso e2b660b
(improvement) llamacpp-llm: simplify nPastBeforeTools reset, multi-tu…
mialso 47292a5
(improvement) llamacpp-llm: simply nPastBeforeTools tracking, no trim…
mialso aedadda
(chore) llamacpp-llm: remove redundant getters and cleanup
mialso f13b1aa
(internal) llamacpp-llm: run Qwen3 context tests
mialso c1e85c2
(chore) cleanup
mialso f2fe2a5
(chore) fix lint errors in examples
olyasir 63b31e2
(chore) fix remaining lint errors in benchToolsPlacement
olyasir 9384335
(chore) fix indentation in benchToolsPlacement ternary
olyasir 52d6706
Merge remote-tracking branch 'origin/main' into feature/llm-dynamic-t…
mialso 4bab03b
Merge branch 'main' into feature/llm-dynamic-tools
olyasir 04cb86f
(chore) llamacpp-llm: remove unused example files
olyasir 05674f0
(chore) remove scratch planning docs
olyasir 71c3f19
(doc) llamacpp-llm: tools_at_end param description
mialso 00a72f6
Merge branch 'main' into feature/llm-dynamic-tools
olyasir c52e076
(chore) llamacpp-llm: changelog and version bump
mialso cc18a15
refactor(llamacpp-llm): address PR #706 review comments
DmitryMalishev 44da74e
refactor(llamacpp-llm): remove toolsAtEnd_ from ReloadableState, sing…
DmitryMalishev 4dbb387
Merge branch 'main' into feature/llm-dynamic-tools
DmitryMalishev 4161c77
fix(llamacpp-llm): use dts.reset() after post-eval trim for full stat…
DmitryMalishev 27e6a5c
(draft) llamacpp-llm: dynamic tools cache tokens test debug
mialso 181b98a
(internal) llamacpp-llm: dynamic tools token count and cache match test
mialso a03ad49
Revert "(internal) llamacpp-llm: dynamic tools token count and cache …
mialso a58893b
Revert "(draft) llamacpp-llm: dynamic tools cache tokens test debug"
mialso 047debf
Merge branch 'main' into feature/llm-dynamic-tools
olyasir 661cbb1
Merge branch 'main' into feature/llm-dynamic-tools
DmitryMalishev afea85e
fix(llamacpp-llm): address PR review comments N3-N8, merge main
DmitryMalishev a4086e8
style(llamacpp-llm): apply clang-format to all PR-touched C++ files
DmitryMalishev 11b186b
style(llamacpp-llm): fix remaining clang-format-19 brace-init formatting
DmitryMalishev 1bb6556
chore: remove accidentally committed binary file
DmitryMalishev 02a327a
chore(llm): bump version to 0.14.0
DmitryMalishev 7d33988
chore: remove working artifacts from feature branch
DmitryMalishev 2ddac41
chore: remove accidentally committed sdk model history file
DmitryMalishev 79dab19
doc: add dynamic-tools examples to README
DmitryMalishev 22603f9
fix(llm): reset use_jinja from params_ instead of save/restore
DmitryMalishev b9a54ec
fix(llm): reset use_jinja before second getPrompt call
DmitryMalishev 306f401
Merge branch 'main' into feature/llm-dynamic-tools
DmitryMalishev 11991ae
Merge branch 'main' into feature/llm-dynamic-tools
olyasir 7057252
Merge branch 'main' into feature/llm-dynamic-tools
olyasir 615f7e1
Merge branch 'main' into feature/llm-dynamic-tools
gianni-cor 75bbf05
Merge branch 'main' into feature/llm-dynamic-tools
gianni-cor e7d6d7b
Merge branch 'main' into feature/llm-dynamic-tools
olyasir cd24afa
Merge branch 'main' into feature/llm-dynamic-tools
olyasir 804ca06
Merge branch 'main' into feature/llm-dynamic-tools
gianni-cor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.