CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 18:22:03 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/withcatai/node-llama-cpp.git
etag: W/"c2e820af53a6a0bbab1f78f9417891af"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=mP5BkE9WrNQtn25NKZudQL6W82zdqgjABH8AmSBRPt0G4yb0fqGyN0q%2BjA9pnPEI8gnh%2FySSEjfN1Wt19CIulpF%2BO3nIL52OYeEDmEtw%2FTSa4qjqNETKIfLwpY09Hs7H3WlLFuXInR64bl%2FL6kw%2F9SBmsnESaXkZIZwec00aye5oYSscKBsURv9PVOjegaanxtilLDJJ6glqvyJ8U9U2hyen4drlddysrlxqgRSY0uFRQg3%2BEMK1xJHDl1f8PkNcAMLMuug9NzO5MRfEGrcoJw%3D%3D--7ZqVBI%2FmLNh70taG--VPos8zOhhEyf%2F6e4nWgbqA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.37576135.1753208522; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 18:22:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 18:22:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AD04:36131:32E9D:3E569:687FD6CA
feat(JSON Schema Grammar): `$defs` and `$ref` support with full infer… · withcatai/node-llama-cpp@9cdbce9 · GitHub
Copy file name to clipboardExpand all lines: llama/addon/AddonContext.cpp
Copy file name to clipboardExpand all lines: src/chatWrappers/QwenChatWrapper.ts
Copy file name to clipboardExpand all lines: src/chatWrappers/generic/JinjaTemplateChatWrapper.ts
Copy file name to clipboardExpand all lines: src/chatWrappers/generic/utils/extractFunctionCallSettingsFromJinjaTemplate.ts
Copy file name to clipboardExpand all lines: src/chatWrappers/generic/utils/extractSegmentSettingsFromTokenizerAndChatTemplate.ts
Copy file name to clipboardExpand all lines: src/cli/commands/ChatCommand.ts
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit 9cdbce9
authored
* feat(JSON Schema Grammar): `$defs` and `$ref` support with full inferred types
* feat(`inspect gguf` command): format and print the Jinja chat template with `--key .chatTemplate`
* fix(`JinjaTemplateChatWrapper`): first function call prefix detection
* fix(`QwenChatWrapper`): improve Qwen chat template detection
* fix: apply `maxTokens` on function calling parameters
* fix: adjust default prompt completion length based on SWA size when relevant
* fix: improve thought segmentation syntax extraction
* fix: adapt to `llama.cpp` changes
1 parent ea8d904 commit 9cdbce9Copy full SHA for 9cdbce9
File tree
Expand file treeCollapse file tree
31 files changed
+1463
-139
lines changedFilter options
- llama/addon
- src
- bindings
- chatWrappers
- generic
- utils
- cli/commands
- inspect/commands
- evaluator
- LlamaChatSession/utils
- LlamaChat
- utils
- utils
- gbnfJson
- terminals
- utils
- test
- modelDependent/qwen3-0.6b
- standalone
- chatWrappers
- llamaEvaluator
Expand file treeCollapse file tree
31 files changed
+1463
-139
lines changedllama/addon/AddonContext.cpp
Copy file name to clipboardExpand all lines: llama/addon/AddonContext.cpp+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
587 | 587 |
| |
588 | 588 |
| |
589 | 589 |
| |
590 |
| - | |
| 590 | + | |
591 | 591 |
| |
592 | 592 |
| |
593 | 593 |
| |
| |||
606 | 606 |
| |
607 | 607 |
| |
608 | 608 |
| |
609 |
| - | |
| 609 | + | |
610 | 610 |
| |
611 | 611 |
| |
612 | 612 |
| |
| |||
621 | 621 |
| |
622 | 622 |
| |
623 | 623 |
| |
624 |
| - | |
| 624 | + | |
625 | 625 |
| |
626 | 626 |
| |
627 | 627 |
| |
| |||
634 | 634 |
| |
635 | 635 |
| |
636 | 636 |
| |
637 |
| - | |
| 637 | + | |
638 | 638 |
| |
639 | 639 |
| |
640 | 640 |
| |
| |||
647 | 647 |
| |
648 | 648 |
| |
649 | 649 |
| |
650 |
| - | |
| 650 | + | |
651 | 651 |
| |
652 | 652 |
| |
653 | 653 |
| |
|
+4-4Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
200 |
| - | |
| 200 | + | |
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
|
+6-3Lines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| |||
345 | 345 |
| |
346 | 346 |
| |
347 | 347 |
| |
348 |
| - | |
349 |
| - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
350 | 353 |
| |
351 | 354 |
| |
352 | 355 |
| |
|
src/chatWrappers/QwenChatWrapper.ts
Copy file name to clipboardExpand all lines: src/chatWrappers/QwenChatWrapper.ts+5-3Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
88 |
| - | |
| 87 | + | |
| 88 | + | |
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
| |||
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
250 |
| - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
251 | 253 |
| |
252 | 254 |
| |
253 | 255 |
| |
|
src/chatWrappers/generic/JinjaTemplateChatWrapper.ts
Copy file name to clipboardExpand all lines: src/chatWrappers/generic/JinjaTemplateChatWrapper.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
671 | 671 |
| |
672 | 672 |
| |
673 | 673 |
| |
674 |
| - | |
| 674 | + | |
675 | 675 |
| |
676 | 676 |
| |
677 | 677 |
| |
|
src/chatWrappers/generic/utils/extractFunctionCallSettingsFromJinjaTemplate.ts
Copy file name to clipboardExpand all lines: src/chatWrappers/generic/utils/extractFunctionCallSettingsFromJinjaTemplate.ts+97-9Lines changed: 97 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
97 | 113 |
| |
98 | 114 |
| |
99 | 115 |
| |
| |||
257 | 273 |
| |
258 | 274 |
| |
259 | 275 |
| |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
260 | 287 |
| |
261 | 288 |
| |
262 | 289 |
| |
| |||
411 | 438 |
| |
412 | 439 |
| |
413 | 440 |
| |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
414 | 473 |
| |
415 | 474 |
| |
416 | 475 |
| |
417 | 476 |
| |
418 | 477 |
| |
419 | 478 |
| |
420 | 479 |
| |
421 |
| - | |
| 480 | + | |
422 | 481 |
| |
423 | 482 |
| |
424 | 483 |
| |
| |||
445 | 504 |
| |
446 | 505 |
| |
447 | 506 |
| |
448 |
| - | |
449 |
| - | |
450 |
| - | |
451 |
| - | |
452 |
| - | |
453 |
| - | |
454 |
| - | |
| 507 | + | |
| 508 | + | |
455 | 509 |
| |
456 | 510 |
| |
457 | 511 |
| |
| |||
524 | 578 |
| |
525 | 579 |
| |
526 | 580 |
| |
527 |
| - | |
| 581 | + | |
| 582 | + | |
528 | 583 |
| |
529 | 584 |
| |
530 | 585 |
| |
531 | 586 |
| |
532 | 587 |
| |
533 | 588 |
| |
534 | 589 |
| |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
535 | 623 |
| |
536 | 624 |
| |
537 | 625 |
| |
|
src/chatWrappers/generic/utils/extractSegmentSettingsFromTokenizerAndChatTemplate.ts
Copy file name to clipboardExpand all lines: src/chatWrappers/generic/utils/extractSegmentSettingsFromTokenizerAndChatTemplate.ts+40Lines changed: 40 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
11 | 47 |
| |
12 | 48 |
| |
13 | 49 |
| |
| |||
46 | 82 |
| |
47 | 83 |
| |
48 | 84 |
| |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + |
src/cli/commands/ChatCommand.ts
Copy file name to clipboardExpand all lines: src/cli/commands/ChatCommand.ts+1-3Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
| |||
529 | 528 |
| |
530 | 529 |
| |
531 | 530 |
| |
532 |
| - | |
533 |
| - | |
| 531 | + | |
534 | 532 |
| |
535 | 533 |
| |
536 | 534 |
| |
|
You can’t perform that action at this time.
0 commit comments