feat: add Astraflow provider support#699
Closed
ucloudnb666 wants to merge 2 commits into
Closed
Conversation
Signed-off-by: ucloudnb666 <ucloudnb666@users.noreply.github.com>
Contributor
Greptile SummaryThis PR adds Astraflow to the Strix LLM provider docs.
Confidence Score: 4/5The documentation route looks valid, but the Astraflow setup example can give users a model value that does not route correctly.
docs/llm-providers/astraflow.mdx Important Files Changed
Prompt To Fix All With AIFix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
docs/llm-providers/astraflow.mdx:13
**Bare Model Skips Provider Routing**
When users copy this setup, `gpt-5.4` is passed as an unqualified LiteLLM model while the endpoint is configured through `LLM_API_BASE`. The sibling OpenAI-compatible docs use `openai/...` values for this path, so this example can fail provider/model resolution instead of routing the request to Astraflow.
Reviews (1): Last reviewed commit: "feat: add Astraflow provider support" | Re-trigger Greptile |
| ### Global Endpoint | ||
|
|
||
| ```bash | ||
| export STRIX_LLM="gpt-5.4" |
Contributor
There was a problem hiding this comment.
Bare Model Skips Provider Routing
When users copy this setup, gpt-5.4 is passed as an unqualified LiteLLM model while the endpoint is configured through LLM_API_BASE. The sibling OpenAI-compatible docs use openai/... values for this path, so this example can fail provider/model resolution instead of routing the request to Astraflow.
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/llm-providers/astraflow.mdx
Line: 13
Comment:
**Bare Model Skips Provider Routing**
When users copy this setup, `gpt-5.4` is passed as an unqualified LiteLLM model while the endpoint is configured through `LLM_API_BASE`. The sibling OpenAI-compatible docs use `openai/...` values for this path, so this example can fail provider/model resolution instead of routing the request to Astraflow.
How can I resolve this? If you propose a fix, please make it concise.Signed-off-by: ucloudnb666 <ucloudnb666@users.noreply.github.com>
Collaborator
|
marketing it seems? but happy to accept real PRs |
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.
Summary
Adds Astraflow (by UCloud) as a supported LLM provider to Strix documentation.
Changes
docs/llm-providers/astraflow.mdx)docs.jsonAbout Astraflow
Astraflow is an OpenAI-compatible AI model aggregation platform by UCloud supporting 200+ models. It provides both global and China endpoints:
https://api-us-ca.umodelverse.ai/v1https://api.modelverse.cn/v1Since Astraflow is OpenAI-compatible, it works through Strix's existing LiteLLM integration without requiring code changes—users just need to configure the base URL and API key.