mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-01 19:19:07 +02:00
Request/response parsers and SSE/event-stream metering, the embedded pricing table, and the builtin middleware set: request parser, router, policy limit-check/record, cost meter, guardrail, identity inject, response parser. Includes the path-routed providers — Google Vertex AI (keyfile:: service-account OAuth minting) and AWS Bedrock (bearer auth, invoke/converse/streaming, optional /bedrock prefix) — plus the Models allowlist and unmeterable-publisher deny.
25 lines
457 B
JSON
25 lines
457 B
JSON
{
|
|
"id": "resp_abc",
|
|
"object": "response",
|
|
"created_at": 1700000000,
|
|
"model": "gpt-5.4",
|
|
"output": [
|
|
{
|
|
"type": "message",
|
|
"role": "assistant",
|
|
"content": [{"type": "output_text", "text": "ok"}]
|
|
}
|
|
],
|
|
"usage": {
|
|
"input_tokens": 15,
|
|
"input_tokens_details": {
|
|
"cached_tokens": 0
|
|
},
|
|
"output_tokens": 414,
|
|
"output_tokens_details": {
|
|
"reasoning_tokens": 0
|
|
},
|
|
"total_tokens": 429
|
|
}
|
|
}
|