Skip to content

v1.1.0 — Local Streaming and Tool-Call Adaptation

Choose a tag to compare

@avaritiachaos avaritiachaos released this 01 Jun 15:03
· 19 commits to main since this release

What is new in v1.1.0

This release improves local OpenAI / Anthropic-compatible protocol adaptation for personal-account compatibility experiments. It does not provide, share, resell, rent, or transfer any Qoder account, Token, or quota. Please keep the service local and comply with Qoder official terms.

Local Streaming

  • Incremental text streaming via --output-format stream-json
  • Text deltas are forwarded as local SSE events as they arrive from the CLI
  • Tool-call requests downgrade to non-streaming responses because complete JSON is required for parsing

Tool-Call Field Adaptation

  • OpenAI-compatible format: /v1/chat/completions accepts tools and returns tool_calls
  • Anthropic-compatible format: /v1/messages accepts tools with input_schema and returns tool_use blocks
  • Shared tool-parser.js module for prompt format instructions and output parsing
  • Brace-balanced JSON extraction for more robust local parsing

Fixes and Improvements

  • Anthropic-compatible system role messages are accepted by request validation
  • Default timeout increased from 120s to 300s for tool-heavy local requests
  • --append-system-prompt support for system message extraction
  • Minimal prompt formatting policy: no additional format instruction when the client already provides a system prompt and no tools are present

Package

  • 76 tests passing
  • files whitelist in package.json for safer npm publishing
  • Package metadata updated to emphasize local adapter and compatibility research scope