feat(openai): add LLM.with_crusoe for Crusoe Managed Inference - #6408
Open
acheamponge wants to merge 3 commits into
Open
feat(openai): add LLM.with_crusoe for Crusoe Managed Inference#6408acheamponge wants to merge 3 commits into
acheamponge wants to merge 3 commits into
Conversation
Groups openai/openai.types with httpx as third-party, livekit.agents.* as first-party (per known-first-party config), and fixes the alphabetical position of CrusoeChatModels in the .models import.
Author
|
Status update: the ruff formatting check is fixed and CI is now fully green on the current head. Ready for review whenever someone has a chance — happy to make any changes needed. |
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.
Adds
LLM.with_crusoe()to the OpenAI plugin, following the same pattern aswith_nebius/with_cerebras.Crusoe Managed Inference is OpenAI-API compatible: endpoint
https://api.inference.crusoecloud.com/v1/, auth viaCRUSOE_API_KEY.llm.py—with_crusoe()static method (default modelzai/GLM-5.2)models.py—CrusoeChatModelsliteral with the current catalog (GLM 5.x, NVIDIA Nemotron 3 family, Gemma 4, Llama 3.3, DeepSeek V3/V4, GPT-OSS, Qwen3, Kimi K2.6)I maintain Crusoe's ecosystem integrations (LiteLLM: BerriAI/litellm#23195, SGLang: sgl-project/sglang#20475).