mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
Syncs issues with gh, triages new ones with a pi-durable agent (category, duplicates, summary, p0/p1/none suggestion), and serves a web UI for decisions.
877 B
877 B
| owner |
|---|
| davidbrai |
providers
How pi-ai talks to model APIs.
In:
- Request building and message conversion or replay: thinking blocks, signatures, tool call IDs, roles.
- Tool schema conversion (strict mode, anyOf).
- Streaming, SSE and WebSocket parsing.
- Provider error classification, retry, context overflow detection.
- Usage parsing from responses, prompt cache headers, cache warming.
- Provider auth: OAuth login flows, API keys, auth.json, token refresh.
Not here:
- Which models exist, prices, context sizes, model selection: models.
- MCP OAuth: mcp.
- What compaction sends: compaction.
Examples: #9444, #10390, #9134, #10543, #10258, #8928, #9508.
Usually not worth opening: requests to add a new provider (should be an extension), bugs in proxies or gateways such as LiteLLM, non-standard provider behavior, theoretical stream edge cases nobody hit.