weftai-providers
Provider tool adapters for Weftai. Install with pip install weftai-providers.
Adapters turn a bound Weftai tool into the tool-definition and tool-result shapes expected by a model host; they do not make provider HTTP requests or choose a model on your behalf.
| Module | Tool surface |
|---|---|
openai |
Chat Completions, Responses, legacy functions, Assistants/Realtime helpers, Azure, and OpenAI-compatible presets |
anthropic |
Messages tools and the optional Anthropic tool runner |
google |
Gemini generateContent and Interactions |
bedrock |
Amazon Bedrock Converse |
ollama |
Native /api/chat |
cohere |
Cohere Chat v2 |
dashscope |
Native DashScope Generation and MultiModalConversation |
hunyuan |
Tencent Cloud Hunyuan ChatCompletions |
spark |
Classic iFlytek Spark WebSocket tools |
ai_sdk |
Vercel AI SDK tool() shape |
weftai.providers.openai.PRESETS covers the current OpenAI-shaped hosted, local, and regional
hosts. The capability catalog validates known model/API combinations and points callers to an
explicit API override when a model is unknown.
See the provider guide
and run uv run --package weftai-example-chat python -m chat_examples.openai from a clone for a
small OpenAI wire-shape example.
Release files for weftai-providers 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weftai_providers-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / weftai_providers-0.2.4-py3-none-any.whl
| Download URL | weftai_providers-0.2.4-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
743067a19ea69c9e1cdc90b0a5e7afcb1e56a4258c56b318b1d6233bc67b6776
|
|
BLAKE2b-256 checksum How to use checksums |
c7b436d9ba8f469b574e0314b7da39b98c05b456c47a9ffe6848fc5f2a4e2c89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency log