Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/qvac-lib-infer-llamacpp-embed/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [0.12.1] - 2026-03-18

### Added

#### `RuntimeStats` TypeScript interface

Added a `RuntimeStats` type to `index.d.ts` covering all stats keys returned by the C++ addon: `total_tokens`, `total_time_ms`, `tokens_per_second` (optional — only present when processing time > 0), `batch_size`, and `context_size`.

## [0.12.0] - 2026-03-13

### Changed
Expand Down
8 changes: 8 additions & 0 deletions packages/qvac-lib-infer-llamacpp-embed/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ export interface AddonConfigurationParams {
backendsDir?: string
}

export interface RuntimeStats {
total_tokens: number
total_time_ms: number
tokens_per_second?: number
batch_size: number
context_size: number
}

export default class GGMLBert extends BaseInference {
protected addon: Addon

Expand Down
2 changes: 1 addition & 1 deletion packages/qvac-lib-infer-llamacpp-embed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@qvac/embed-llamacpp",
"version": "0.12.0",
"version": "0.12.1",
"description": "bert addon for qvac",
"addon": true,
"engines": {
Expand Down
Loading