pre-commit-ci[bot]
1201727a2b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-04-12 09:56:28 +00:00
Roland Tannous
ae6cbc59f0
Add Anthropic-compatible /v1/messages endpoint with tool support
...
Translate Anthropic Messages API format to/from internal OpenAI format
and reuse the existing server-side agentic tool loop. Supports streaming
SSE (message_start, content_block_delta, etc.) and non-streaming JSON.
Includes offline unit tests and e2e tests in test_studio_run.py.
2026-04-11 20:47:42 +04:00
pre-commit-ci[bot]
c40ed3766a
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-04-10 14:28:19 +00:00
Daniel Han
242ec57305
Add end-to-end tests for unsloth studio run and API key usage
...
Tests the 4 usage examples from the API Keys page:
1. curl basic (non-streaming) chat completions
2. curl streaming (SSE) chat completions
3. OpenAI Python SDK streaming completions
4. curl with tools (web_search + python)
Also tests --help output, invalid key rejection, and no-key rejection.
All 7 tests pass against Qwen3-1.7B-GGUF.
2026-04-10 14:27:59 +00:00