wildedge-python
wildedge-python copied to clipboard
Python SDK for WildEdge
## What happens `SpanContextManager.set_attributes()` (`wildedge/client.py:223`) accepts any value. If one value is a list, e.g. `span.set_attributes(rejections=["English", "too long"])`, ingest answers **422** (`span attributes['rejections'] must be a scalar`) and **every event...
## What happens The `gguf` integration only tracks `Llama.__call__`. `Llama.create_chat_completion` is not tracked: llama-cpp-python's chat handlers call `llama.create_completion(...)` directly (`llama_chat_format.py`), so they never go through the patched `__call__`. `create_completion` called...
## Summary The `GenerationOutputMeta` dataclass has a `time_to_first_token_ms` field, but the OpenAI integration never populates it. The integration times the full round-trip (`t0` to response) but has no way to...
Not much more to add here. Same surface as llama.cpp integration
Currently OpenAI SDK/OpenRouter integration is covered for remote LLM tracking. Users still often leverage vendor specific clients directly. Add support for: [Anthropic SDK](https://platform.claude.com/docs/en/api/client-sdks)
Goal: Validate type information on the CI level!
version affected: 0.1.1 app setup: uvicorn, fastapi, openrouter ``` uv run wildedge run --integrations openai -- uvicorn app.main:app --reload --port 8000 ``` 1. wildedge run launches uvicorn -> reloader process...
Currently OpenAI SDK/OpenRouter integration is covered for remote LLM tracking. Users still often leverage vendor specific clients directly. Add support for: [Gemini SDK](https://github.com/googleapis/python-genai)