wesichain-server
Axum HTTP server for exposing Wesichain agents and chains as REST/streaming APIs.
Part of the wesichain LLM agent framework.
Installation
[]
= "0.3"
Quick Start
use ;
async
Features
- Bearer auth — optional
Authorization: Bearer <token>middleware - Rate limiting — configurable request-per-second limits via Tower
- SSE streaming —
/invoke/streamendpoint usingtext/event-stream - JSON invoke —
/invokeendpoint for synchronous calls - Body size limit — configurable max request body size
License
Apache-2.0 OR MIT