feat: add HPC-AI model provider support#1266
Open
lioZ129 wants to merge 3 commits intoanomalyco:devfrom
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new HPC-AI provider (OpenAI-compatible) with initial model metadata (MiniMax M2.5, Kimi K2.5) and a provider logo.
Changes:
- Added
providers/hpc-ai/provider.tomlwith env var, docs link, npm adapter, and inference base URL. - Added two model definition TOMLs under
providers/hpc-ai/models/.... - Added
providers/hpc-ai/logo.svgfor brand display.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| providers/hpc-ai/provider.toml | Registers the HPC-AI provider and its OpenAI-compatible endpoint/auth. |
| providers/hpc-ai/models/moonshotai/kimi-k2.5.toml | Adds model capabilities/limits/modalities metadata for Kimi K2.5. |
| providers/hpc-ai/models/minimax/minimax-m2.5.toml | Adds model capabilities/limits/modalities metadata for MiniMax M2.5. |
| providers/hpc-ai/logo.svg | Introduces provider branding asset for UI/display. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Summary
Adds the HPC-AI provider: OpenAI-compatible API via
@ai-sdk/openai-compatible, aligned with the official quickstart docs and inference base URL, plus a brandlogo.svg.What changed
providers/hpc-ai/provider.tomlHPC-AIHPC_AI_API_KEYhttps://api.hpc-ai.com/inference/v1Models