hot.dev/openai-compatible — Presets for OpenAI-compatible APIs built on hot.dev/openai: Ollama, vLLM, LM Studio, Groq, OpenRouter, DeepSeek, Together, Fireworks, Mistral, Cerebras, Perplexity, or any custom gateway. Returns hot-ai providers for the run loop, plus chat (with streaming), models and embeddings helpers.

Version: 0.1.0

Author: Hot Dev

License: Apache-2.0

Add to your project

"hot.dev/openai-compatible": "0.1.0"

Add this to your deps in hot.hot

Namespaces

NamespaceFunctionsTypesDescription
::openai-compatible221Presets for OpenAI-compatible APIs, built on `hot.dev/openai`.

::openai-compatible

NamespaceFunctionsTypesDescription
::chat5—Chat Completions against a configured OpenAI-compatible provider.
::embeddings21The JSON body for an `EmbeddingsRequest`, with unset optionals omitted.
::models3—GET /models: the models the provider exposes, as the decoded body