Unverified Commit dfbd9a39 authored by drbh's avatar drbh Committed by GitHub
Browse files

feat: bump minijina and add test for core templates (#1626)

This PR bumps `minijinja` and adds tests for all core models as
identified by @xenova 🙏

Inspiration:
https://github.com/huggingface/huggingface.js/blob/main/packages/jinja/test/e2e.test.js

TODO:
- [X] add new test to iterate over known templates
- [X] add default templates
- [x] add custom templates
parent 0d72af5a
...@@ -1475,8 +1475,7 @@ dependencies = [ ...@@ -1475,8 +1475,7 @@ dependencies = [
[[package]] [[package]]
name = "minijinja" name = "minijinja"
version = "1.0.12" version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/mitsuhiko/minijinja.git?branch=main#c7bf5718c2b475382fa80d1fe741146313d27f3b"
checksum = "6fe0ff215195a22884d867b547c70a0c4815cbbcc70991f281dca604b20d10ce"
dependencies = [ dependencies = [
"serde", "serde",
] ]
......
...@@ -44,7 +44,7 @@ utoipa = { version = "3.5.0", features = ["axum_extras"] } ...@@ -44,7 +44,7 @@ utoipa = { version = "3.5.0", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "3.1.5", features = ["axum"] } utoipa-swagger-ui = { version = "3.1.5", features = ["axum"] }
ngrok = { version = "0.13.1", features = ["axum"], optional = true } ngrok = { version = "0.13.1", features = ["axum"], optional = true }
init-tracing-opentelemetry = { version = "0.14.1", features = ["opentelemetry-otlp"] } init-tracing-opentelemetry = { version = "0.14.1", features = ["opentelemetry-otlp"] }
minijinja = "1.0.10" minijinja = { git = "https://github.com/mitsuhiko/minijinja.git", branch = "main", commit = "5cd4efb" }
futures-util = "0.3.30" futures-util = "0.3.30"
[build-dependencies] [build-dependencies]
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment