-
-
Notifications
You must be signed in to change notification settings - Fork 0
Release v0.1.2: Test improvements #13
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
Changes from all commits
4b3e882
1254b5b
ef8d692
73f4a20
bb3fdb9
e671fac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,98 @@ | ||
| repos: | ||
| # Rust formatting and linting | ||
| - repo: https://github.com/rust-lang/rust-clippy | ||
| rev: v1.81.0 | ||
| hooks: | ||
| - id: clippy | ||
| args: ['--all-targets', '--all-features', '--', '-D', 'warnings'] | ||
| stages: [pre-commit] | ||
|
|
||
| - repo: local | ||
| hooks: | ||
| - id: rust-fmt | ||
| name: rust-fmt | ||
| description: Format Rust code | ||
| entry: cargo fmt -- | ||
| language: system | ||
| types: [rust] | ||
| stages: [pre-commit] | ||
| pass_filenames: false | ||
|
|
||
| - id: cargo-check | ||
| name: cargo-check | ||
| description: Check Rust code compiles | ||
| entry: cargo check --all | ||
| language: system | ||
| types: [rust] | ||
| stages: [pre-commit] | ||
| pass_filenames: false | ||
|
|
||
| # Python formatting and linting | ||
| - repo: https://github.com/psf/black | ||
| rev: 24.10.0 | ||
| hooks: | ||
| - id: black | ||
| language_version: python3.9 | ||
| stages: [pre-commit] | ||
|
|
||
| - repo: https://github.com/astral-sh/ruff-pre-commit | ||
| rev: v0.8.2 | ||
| hooks: | ||
| - id: ruff | ||
| args: [--fix] | ||
| stages: [pre-commit] | ||
| - id: ruff-format | ||
| stages: [pre-commit] | ||
|
|
||
| - repo: https://github.com/pre-commit/mirrors-mypy | ||
| rev: v1.14.1 | ||
| hooks: | ||
| - id: mypy | ||
| additional_dependencies: | ||
| - types-all | ||
| files: ^llmkit-python/ | ||
| stages: [pre-commit] | ||
| args: [--ignore-missing-imports] | ||
|
|
||
| # TypeScript/JavaScript formatting and linting using Biome | ||
| - repo: https://github.com/biomejs/pre-commit | ||
| rev: v1.8.3 | ||
| hooks: | ||
| - id: biome-ci | ||
| name: biome-ci | ||
| description: Run Biome linter and formatter on TypeScript/JavaScript | ||
| stages: [pre-commit] | ||
| files: ^(llmkit-node/|examples/nodejs/) | ||
| exclude: | | ||
| (?x)^( | ||
| llmkit-node/index\.(js|d\.ts)| | ||
| llmkit-node/.*\.node$ | ||
| )$ | ||
|
|
||
| # General checks | ||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: v5.0.0 | ||
| hooks: | ||
| - id: trailing-whitespace | ||
| stages: [pre-commit] | ||
| - id: end-of-file-fixer | ||
| stages: [pre-commit] | ||
| - id: check-yaml | ||
| stages: [pre-commit] | ||
| - id: check-toml | ||
| stages: [pre-commit] | ||
| - id: check-json | ||
| stages: [pre-commit] | ||
| - id: check-merge-conflict | ||
| stages: [pre-commit] | ||
| - id: mixed-line-ending | ||
| args: ['--fix=lf'] | ||
| stages: [pre-commit] | ||
|
|
||
| # Spell checking | ||
| - repo: https://github.com/codespell-project/codespell | ||
| rev: v2.3.0 | ||
| hooks: | ||
| - id: codespell | ||
| args: [--ignore-words-list=crate,nd,sav] | ||
| stages: [pre-commit] |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,131 +1,106 @@ | ||||||
| # Changelog | ||||||
|
|
||||||
| All notable changes to LLMKit will be documented in this file. | ||||||
| All notable changes to this project will be documented in this file. | ||||||
|
|
||||||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||||||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||||||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||||||
|
|
||||||
| ## [Unreleased] | ||||||
| ## [0.1.2] - 2025-01-13 | ||||||
|
|
||||||
| ## [0.1.1] - 2026-01-12 | ||||||
| ### Added | ||||||
|
|
||||||
| #### Infrastructure & Developer Experience | ||||||
| - **Pre-commit hooks configuration** - Automated code quality checks for all three languages: | ||||||
| - Rust: `cargo fmt`, `cargo clippy`, `cargo check` | ||||||
| - Python: `black`, `ruff`, `mypy` with strict type checking | ||||||
| - TypeScript/JavaScript: Biome unified formatter and linter | ||||||
| - General: Trailing whitespace, line endings, YAML/TOML/JSON validation, spell checking | ||||||
| - **Biome configuration** - Unified TypeScript/JavaScript formatting and linting (single quotes, 2-space indent, 100-char line width) | ||||||
| - **Enhanced CONTRIBUTING.md** - Comprehensive guide for setting up pre-commit hooks, troubleshooting, and code quality standards | ||||||
|
|
||||||
| #### Documentation | ||||||
| - Pre-commit setup instructions for contributors | ||||||
| - Per-language code quality command examples | ||||||
| - Troubleshooting guide for common pre-commit issues | ||||||
| - Updated PR checklist to include code quality verification | ||||||
|
|
||||||
| ### Fixed | ||||||
|
|
||||||
| - **Package Names**: Corrected installation instructions in READMEs | ||||||
| - Python: `pip install llmkit-python` (was incorrectly `llmkit`) | ||||||
| - Node.js: `npm install llmkit-node` (was incorrectly `llmkit`) | ||||||
| - **Badge URLs**: Fixed PyPI and npm badge links in main README | ||||||
| - **Model Registry**: Regenerated from latest crawler data (97 providers, 11,067 models) | ||||||
| - Updated pricing, capabilities, and benchmark data | ||||||
| - Synchronized with latest provider API changes | ||||||
| #### Test Assertions (46 panic improvements across 30 provider files) | ||||||
|
||||||
| - **Core providers (5 files, 10 panics fixed)**: | ||||||
| - `ollama.rs`: 2 panics - Text content and tool use assertions | ||||||
| - `anthropic.rs`: 2 panics - Simple and structured system content validation | ||||||
| - `openai.rs`: 3 panics - JsonObject and JsonSchema response format validation | ||||||
| - `groq.rs`: 1 panic - Tool use content validation | ||||||
| - `ai21.rs`: 2 panics - Text and tool use content blocks | ||||||
|
|
||||||
| - **Major providers (18 files, 31 panics fixed)**: | ||||||
| - `cohere.rs`: 2 panics - Text and tool use content blocks | ||||||
| - `huggingface.rs`: 2 panics - Text and tool use content blocks | ||||||
| - `mistral.rs`: 2 panics - Tool use and text content | ||||||
| - `replicate.rs`: 2 panics - Text content assertions | ||||||
| - Single panic fixes in: `aleph_alpha.rs`, `nlp_cloud.rs`, `yandex.rs`, `clova.rs`, `writer.rs`, `maritaca.rs`, `watsonx.rs`, `cerebras.rs`, `cloudflare.rs`, `sambanova.rs`, `databricks.rs`, `fireworks.rs`, `openrouter.rs`, `azure.rs` | ||||||
|
|
||||||
| - **Advanced providers (2 files, 5 panics fixed)**: | ||||||
|
||||||
| - **Advanced providers (2 files, 5 panics fixed)**: | |
| - **Advanced providers (2 files, 7 panics fixed)**: |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "Special APIs & Utilities" section has inconsistencies: it states "2 files, 5 panics fixed" but then lists 4 files (runpod.rs with 4 panics, baseten.rs with 4 panics, openai_realtime.rs with 3 panics, and streaming_multiplexer.rs with 2 panics). This totals 4 files with 13 panics, not 2 files with 5 panics.
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The date for version 0.1.1 shows "2025-01-12" which is in the past relative to the current release 0.1.2 dated "2025-01-13". However, given that it's currently January 14, 2026, this date appears to be from a year ago. Please verify these dates are correct - they should likely be "2026-01-12" and "2026-01-13" respectively.
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The date for version 0.1.0 shows "2025-01-10" which appears to be a year in the past. Given that it's currently January 14, 2026, this should likely be "2026-01-10".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The release date shows "2025-01-13" which appears to be a year in the past. Given that it's currently January 14, 2026, this should likely be "2026-01-13".