- lm_studio_fn: use urlparse to extract port from server_address so that
addresses with an http:// prefix (e.g. http://127.0.0.1:1234, as
documented in README) no longer break the Docker URL construction.
Previously split(":")[1] returned "//127.0.0.1" instead of the port
number, producing a malformed URL.
Also fix the non-Docker path to avoid prepending http:// when the address
already includes a scheme.
- api.py: pass the computed port variable to uvicorn.run() instead of the
hardcoded literal 7777, so that BACKEND_PORT environment variable is
actually honoured when starting the server directly.
When is_local=True, the Ollama host URL previously hardcoded port 11434,
ignoring the port specified in provider_server_address in config.ini.
Users who need to run Ollama on a non-default port (e.g. because 11434
is already in use) had no way to configure this without editing source code.
Now the port is extracted from provider_server_address when present,
falling back to 11434 if only a hostname is given.
- Add 'anthropic' to available_providers and unsafe_providers so users can set
provider_name = anthropic in config.ini and use ANTHROPIC_API_KEY
- Add provider name alias normalization so 'togetherAI' (as documented in README)
is accepted as equivalent to 'together'
- Fix NameError in dsk_deepseek: add 'as e' to AuthenticationError, RateLimitError,
and NetworkError except clauses where 'e' was referenced but not bound
- Remove unreachable 'return thought' dead code at end of lm_studio_fn
- Update README to list Anthropic as a supported API provider
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to supported models list
- Update docstring to list M2.7 models before M2.5
- Update README/README_CHS model references
- Add unit tests for M2.7 and M2.7-highspeed models
- Keep all previous models as alternatives
Add support for MiniMax M2.5 series models via OpenAI-compatible API:
- Add minimax_fn() to Provider class with configurable base URL
- Support both international and China mainland endpoints
- Update documentation in README.md and README_CHS.md
- Add MINIMAX_API_KEY and MINIMAX_BASE_URL to .env.example
- Add unit tests for MiniMax provider
Made-with: Cursor