test(model-connector): commit regenerated v5 goldens, schemas, and lease readout
This commit is contained in:
parent
31c02a26dc
commit
e0256af325
13 changed files with 65 additions and 0 deletions
Binary file not shown.
1
crates/model-connector/tests/fixtures/wire_v5/carriage_invocation.frame
vendored
Normal file
1
crates/model-connector/tests/fixtures/wire_v5/carriage_invocation.frame
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD>messageIdョgolden-requestゥoperationヲinvokeァpayloadレ(hqlzY2hlbWFfaWTZJGdhbWVjdWx0Lm1vZGVsLnRyYW5zcG9ydF9lbnZlbG9wZS52NbFjYWxsZXJfcnVudGltZV9pZK1nb2xkZW4tY2FsbGVyqnJlcXVlc3RfaWSuZ29sZGVuLXJlcXVlc3SsbWVzc2FnZV9raW5kqkludm9jYXRpb26lbm9uY2WczNNEzMAUzNnM6R7Mw8zLK2tVqmNpcGhlcnRleHTFAzP67vXYXmqhOshO0nXptUYY6bqoOX7fFNdJG9gOey20X58xRSDMpPUj6wDLIHrOnyl7ovYk+mGl42cVc9UO9q54Q84Oln6PKq+nueHuMzohIWG57u90UjYbVYeV+wYW/kcRXKupLFey43YDRPMf6PjBJ8JCZDj5Y4OACwy30jlb/JIzQlasR+QMfvP0CzE8DmO8WK6QPuSAxhWmlUpWelKjGcaVn5cb1vqNBA6sYfnUFwa2UweMFJcVhR2Sln3CRP/dG7vOTZFenrx2yHm3OVxOdi65cU5YgLlv1j6WtbOKNrHo05VNPITVBSIMlKTGM0Z+NM3HYt7wf+y2KWFvXcxmKojEoLeoyZG1PJIzmIL0isG/Y/UO8QTleKv/THoUyToHNRjoP7s7WxTvfndBHHvvuVcJjVDO8yJeiDAwB6Xqr19ZfyuDBLus9OwAoyzNaQhSDLi1z1d8Vb1ziyqvonV1yEjgLBOFUhmpvH5okNgUfaNxvMarOfdtidlkI7qxEt/xbGk2k5YVEricOmJFr5k5Etk4hKxlsL6yNBnDClUVoDv/FXhz2fc1El1UG0qUMLtPJgz9J81zc5EiTBGzkxTHAYQpDkZyWknMM02sfOyrDbIQp66MCT5kzsoRwuaQ5BkZJ1mnZsqk+3/kRTkouoz7huLTwCrlgIT0hNDtVSLxKzkJGJb4xqueNWVN2oD/Hko7tiGGYecgjkVo+mwMim6SJK2j9dxnTauMtRl1aqU46SRWOD88Kdi164v6VVD0TaW08pYaSTa1Jse4T9m4SahVsadiYIA3uMyP36ZkUUvq0czUep+8vGDiwNspvFDd5EvkgwyZ3GYUmwk62IQ5FOTTXKoTFwojQOxq66rnGC9084Kmv2RTCiZM3lIPU03q+U/qr67wIdnLSieMGtDYTOkNaCHOws5vFDVdCrDElmoTnMIx565GdU02tOzR9N2tumd1XOdtuEKJl+Y3FwkY74y8vRyCRoehKymN8kjc9+Jn1tXM9Z7OdWFa1xCJzJh37la8zz/Am4MBvgfSedNd34bVVdVgCBYwprsDc+eX1Ygx2OWBSV1RlpyznlnKDaU+Op5le2Q=ッpayloadEncodingイmessagepack-base64ュpayloadSchemaル$gamecult.model.transport_envelope.v5ュschemaVersionシcultnet.operation_request.v0ゥserviceIdクgamecult.model.connector
|
||||
1
crates/model-connector/tests/fixtures/wire_v5/input_reasoning_state.mp
vendored
Normal file
1
crates/model-connector/tests/fixtures/wire_v5/input_reasoning_state.mp
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD>ReasoningState<EFBFBD>provider淮nthropic-messages叮odel畚laude-opus-4-5叫tate<74><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>﹜ㄓ它夾帚型陋秣捲陷絮溢劃遞蝨螃謝藥齪ヌ圴佮迓玿旂衲欶趹欹詘棰葮摵蜠樉賥濋錎膼瀔嚦黀蘜蠲╭帉爎<E5B889>
|
||||
BIN
crates/model-connector/tests/fixtures/wire_v5/provider_request.mp
vendored
Normal file
BIN
crates/model-connector/tests/fixtures/wire_v5/provider_request.mp
vendored
Normal file
Binary file not shown.
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_envelope.mp
vendored
Normal file
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_envelope.mp
vendored
Normal file
Binary file not shown.
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_invocation.mp
vendored
Normal file
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_invocation.mp
vendored
Normal file
Binary file not shown.
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_receipt_failed.mp
vendored
Normal file
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_receipt_failed.mp
vendored
Normal file
Binary file not shown.
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_receipt_failed_no_usage.mp
vendored
Normal file
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_receipt_failed_no_usage.mp
vendored
Normal file
Binary file not shown.
1
crates/model-connector/tests/fixtures/wire_v5/transport_result_refused.mp
vendored
Normal file
1
crates/model-connector/tests/fixtures/wire_v5/transport_result_refused.mp
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
„©schema_idÙ"gamecult.model.transport_result.v5ªrequest_id®golden-request±caller_runtime_idgolden-caller«disposition<6F>§Refused«OutputBound
|
||||
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_result_transported.mp
vendored
Normal file
BIN
crates/model-connector/tests/fixtures/wire_v5/transport_result_transported.mp
vendored
Normal file
Binary file not shown.
|
|
@ -6,6 +6,14 @@
|
|||
"caller_runtime_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"cost_micro_usd": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint64",
|
||||
"minimum": 0
|
||||
},
|
||||
"foreign_reasoning_dropped": {
|
||||
"description": "How many foreign `ReasoningState` items the service removed from the\nrequest before the backend saw it.",
|
||||
"type": "integer",
|
||||
|
|
|
|||
|
|
@ -284,6 +284,14 @@
|
|||
"caller_runtime_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"cost_micro_usd": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"format": "uint64",
|
||||
"minimum": 0
|
||||
},
|
||||
"foreign_reasoning_dropped": {
|
||||
"description": "How many foreign `ReasoningState` items the service removed from the\nrequest before the backend saw it.",
|
||||
"type": "integer",
|
||||
|
|
|
|||
|
|
@ -16,15 +16,61 @@
|
|||
},
|
||||
"schema_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"spend": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/CallerModelSpend"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"schema_id",
|
||||
"at_unix_ms",
|
||||
"spend",
|
||||
"plan_quota"
|
||||
],
|
||||
"$defs": {
|
||||
"CallerModelSpend": {
|
||||
"description": "One caller's committed monthly usage row for a single model in UTC `YYYY-MM`.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"caller": {
|
||||
"type": "string"
|
||||
},
|
||||
"calls": {
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"minimum": 0
|
||||
},
|
||||
"calls_without_price": {
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"minimum": 0
|
||||
},
|
||||
"cost_micro_usd": {
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"minimum": 0
|
||||
},
|
||||
"model": {
|
||||
"type": "string"
|
||||
},
|
||||
"month": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"caller",
|
||||
"model",
|
||||
"month",
|
||||
"calls",
|
||||
"cost_micro_usd",
|
||||
"calls_without_price"
|
||||
]
|
||||
},
|
||||
"PlanQuota": {
|
||||
"description": "One window of the subscription plan, as the provider reported it.",
|
||||
"type": "object",
|
||||
|
|
|
|||
Loading…
Reference in a new issue