Skip to content

v1.0.1

Choose a tag to compare

@FuzzySoul FuzzySoul released this 17 Aug 11:12
· 24 commits to main since this release

🎯 Resolves

  • Issue #1 β€” FEAT: API override
    #1

✨ What changed

  • Added optional per-provider API Base URL override (baseURLs).
  • Users can now override the API endpoint/base URL for every existing provider:
    qwen / volcengine / siliconflow / zhipu / hunyuan / custom.
  • Supports proxy, API Gateway, OpenAI-compatible services, local services, and special network environments.
  • Settings UI now shows a Base URL input next to the API Key, prefilled with the provider's official default address.
  • Empty/missing Base URL keeps the original official default behavior.
  • The override is persisted in ~/.dsh/free-vision.json and survives restarts.
  • Actual API requests use the overridden address; URL duplication like /v1/v1 or /chat/completions/chat/completions is avoided.

πŸ› Fixed in 1.0.1

  • postinstall would crash under pnpm (dshmarket updates). The luma-mcp path is now resolved via Node's module lookup with fallbacks, working under npm (flat), pnpm isolated, and pnpm hoisted layouts.

πŸ§ͺ Validation

  • Unit tests: 26 passed.
  • Integration test with local mock HTTP server confirms every provider client sends requests to the custom Base URL.
  • Real Qwen API end-to-end call succeeded.
  • postinstall verified under npm, pnpm isolated, and pnpm hoisted layouts.

πŸ“¦ Package

  • npm: dsh-free-vision@1.0.1 (latest)
  • Tag: v1.0.1