LangChain
Use LangChain’s OpenAI integration with the HyperFlow HI base URL.
Install
Chat
llm.stream(...), llm.bind_tools(...) and llm.with_structured_output(...) work on models that support streaming, tools and structured outputs.
Embeddings
No embedding models are listed yet. This works once one is: pick an id with "mode": "embedding" from GET /public/models.
In Python, check_embedding_ctx_length=False makes LangChain send your text as is. Otherwise it splits it into OpenAI tokens first, which other labs’ models don’t read.