Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for weftai-providers 0.2.1
File Interpreter ABI Platform
weftai_providers-0.2.1-py3-none-any.whl Python 3 none any Details

Release files / weftai_providers-0.2.1-py3-none-any.whl

Download URL weftai_providers-0.2.1-py3-none-any.whl
Size 26.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1acfd47cbf7a71d2be0680bee4c8621b612cb75f516e53dad92941544005a2c5
BLAKE2b-256 checksum
How to use checksums
825e64d9f7d4b5fc2a6b1928b8c5827b32bbf1abf86fc1dbab4392114503f9e3
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

Release history Release notifications | RSS feed

0.2.4

1 release file

0.2.3

1 release file

0.2.2

2 release files

This release

0.2.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page