feat(llm): add NEAR AI Cloud provider#319
Conversation
|
Thanks for this, @PierreLeGuen — it's a clean, well-tested PR and the NEAR AI Cloud confidential-inference angle is genuinely interesting. We've decided not to merge individual provider integrations one-by-one, though. OpenVoiceUI is moving toward a generic 'add any OpenAI-compatible provider' system (see #244 / #246) — a single place where users configure a provider's base URL, key, and models without code changes. Once that lands, NEAR AI Cloud will be addable by any user who wants it (with their own key), no per-provider PR needed — and it keeps us from hardcoding each vendor across the codebase. In the meantime, NEAR works today via custom OpenClaw provider config locally. Closing in favor of that direction — but genuinely appreciate the contribution and the quality of it. 🙏 |
What does this PR do?
Adds NEAR AI Cloud as an LLM provider across OpenVoiceUI's provider surfaces:
nearaiLLM provider using NEAR AI Cloud's OpenAI-compatible chat completions API.NEARAI_API_KEYin setup, generated OpenClaw config, admin provider metadata, and profile/provider UI surfaces.Why?
This gives OpenVoiceUI users another OpenAI-compatible LLM provider option, with NEAR AI Cloud's TEE-backed private inference available through the existing gateway/provider setup.
Type of change
Testing
venv/bin/python -m pytest tests/ --tb=short -qnode --check setup-config.jsnode --check install.jsNEARAI_API_KEYconfirmed generated OpenClaw provider config, auth profile, and.enventry.Checklist
.env.exampleupdated forNEARAI_API_KEY