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

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.3
File Interpreter ABI Platform
weftai_providers-0.2.3-py3-none-any.whl Python 3 none any Details

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

Download URL weftai_providers-0.2.3-py3-none-any.whl
Size 26.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af9c97291dbcae0f3a6c4f5f2971b40e8d6861ce17132a1bc4273de0849e2e24
BLAKE2b-256 checksum
How to use checksums
abdd03a1b94e21d76cff6a8fa332cd8e47530c9f1fb275c609f1ff2f3fd269a4
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

This release

0.2.3 This release

1 release file

0.2.2

2 release files

0.2.1

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