diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 9d65e98d24..618a74315c 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [0.3.0] + +Release Date: 2026-04-30 + +## 🔌 API + +- Wire OpenAI's standard `response_format` field through `qvac serve` (POST `/v1/chat/completions`). The body field is parsed, validated, and forwarded to the SDK as `responseFormat`, enabling structured-output requests (`text` / `json_object` / `json_schema`) over the OpenAI-compatible HTTP surface. Requires `@qvac/sdk` `^0.10.0`. (see PR [#1810](https://github.com/tetherto/qvac/pull/1810)) - See [API changes](./changelog/0.3.0/api.md) + ## [0.2.4] Release Date: 2026-04-27 diff --git a/packages/cli/changelog/0.3.0/CHANGELOG.md b/packages/cli/changelog/0.3.0/CHANGELOG.md new file mode 100644 index 0000000000..9d6c41adf4 --- /dev/null +++ b/packages/cli/changelog/0.3.0/CHANGELOG.md @@ -0,0 +1,8 @@ +# Changelog v0.3.0 + +Release Date: 2026-04-30 + +## 🔌 API + +- Wire OpenAI's standard `response_format` field through `qvac serve` (POST `/v1/chat/completions`). The body field is parsed, validated, and forwarded to the SDK as `responseFormat`, enabling structured-output requests (`text` / `json_object` / `json_schema`) over the OpenAI-compatible HTTP surface. Requires `@qvac/sdk` `^0.10.0`. (see PR [#1810](https://github.com/tetherto/qvac/pull/1810)) - See [API changes](./api.md) + diff --git a/packages/cli/changelog/0.3.0/api.md b/packages/cli/changelog/0.3.0/api.md new file mode 100644 index 0000000000..2f68ae80a7 --- /dev/null +++ b/packages/cli/changelog/0.3.0/api.md @@ -0,0 +1,29 @@ +# 🔌 API Changes v0.3.0 + +## `response_format` support in OpenAI-compat `/v1/chat/completions` + +PR: [#1810](https://github.com/tetherto/qvac/pull/1810) + +```bash +curl http://localhost:8080/v1/chat/completions -d '{ + "model": "qwen-3-0.6b", + "messages": [{ "role": "user", "content": "Give me a person object." }], + "response_format": { + "type": "json_schema", + "json_schema": { + "name": "Person", + "schema": { + "type": "object", + "properties": { + "name": { "type": "string" }, + "age": { "type": "integer" } + }, + "required": ["name", "age"] + } + } + } +}' +``` + +--- + diff --git a/packages/cli/package.json b/packages/cli/package.json index ba0c8a6bd5..029b513fc0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@qvac/cli", - "version": "0.2.4", + "version": "0.3.0", "description": "Command-line interface for the QVAC ecosystem", "author": "Tether", "license": "Apache-2.0",