Skip to content
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

feat: extract function calling syntax from a Jinja template #444

Open
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

giladgd
Copy link
Contributor

@giladgd giladgd commented Mar 20, 2025

Description of change

  • feat: extract function calling syntax from a Jinja template
  • feat: Full support for Qwen and QwQ via QwenChatWrapper
  • feat: export a llama instance getter on a model instance
  • fix: better handling for function calling with empty parameters
  • fix: reranking edge case crash
  • fix: limit the context size by default in the node-typescript template
  • fix: adapt to breaking llama.cpp changes
  • fix: bump min nodejs version to 20
  • fix: better husky setup
  • docs: troubleshooting function calling when using JinjaTemplateChatWrapper (documentation: Function Calling Issues With JinjaTemplateChatWrapper)
  • docs: fix the command to scaffold a new Electron project
  • docs: debugging a native crash on Linux
  • test: make LlamaText snapshots more readable

Resolves #440
Fixes #435

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run format to apply eslint formatting
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits and pull request title follow conventions explained in pull request guidelines (PRs that do not follow this convention will not be merged)

@giladgd giladgd requested a review from ido-pluto March 20, 2025 01:50
@giladgd giladgd self-assigned this Mar 20, 2025
Copy link
Contributor

@ido-pluto ido-pluto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@giladgd giladgd enabled auto-merge (squash) March 22, 2025 02:04
@giladgd giladgd disabled auto-merge March 22, 2025 19:21
giladgd added 5 commits March 22, 2025 21:31
Some dependencies already have this requirement,
so trying to install `node-llama-cpp` on nodejs 18 already generates a bunch of warnings anyway
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.

feat: Gemma 3 Support Limit default context size in the node template
2 participants