Add projects
This commit is contained in:
parent
2d3a9ad623
commit
8b607dd700
1802 changed files with 503346 additions and 2 deletions
27
backend/internal/home/testdata/concurrency_dispatch_accounted.json
vendored
Normal file
27
backend/internal/home/testdata/concurrency_dispatch_accounted.json
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"model": "gpt",
|
||||
"provider": "codex",
|
||||
"auth_index": "cred-1",
|
||||
"user_api_key": "user-key",
|
||||
"auth": {
|
||||
"id": "cred-1",
|
||||
"provider": "codex",
|
||||
"status": "active",
|
||||
"disabled": false,
|
||||
"unavailable": false,
|
||||
"quota": {
|
||||
"exceeded": false,
|
||||
"next_recover_at": "0001-01-01T00:00:00Z"
|
||||
},
|
||||
"created_at": "0001-01-01T00:00:00Z",
|
||||
"updated_at": "0001-01-01T00:00:00Z",
|
||||
"last_refreshed_at": "0001-01-01T00:00:00Z",
|
||||
"next_refresh_after": "0001-01-01T00:00:00Z",
|
||||
"next_retry_after": "0001-01-01T00:00:00Z"
|
||||
},
|
||||
"concurrency": {
|
||||
"accounted": true,
|
||||
"credential_id": "cred-1",
|
||||
"model": "gpt"
|
||||
}
|
||||
}
|
||||
8
backend/internal/home/testdata/concurrency_dispatch_busy.json
vendored
Normal file
8
backend/internal/home/testdata/concurrency_dispatch_busy.json
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"error": {
|
||||
"type": "credential_concurrency_exceeded",
|
||||
"message": "credential concurrency limit reached",
|
||||
"retryable": true,
|
||||
"retry_after_ms": 750
|
||||
}
|
||||
}
|
||||
1
backend/internal/home/testdata/concurrency_release.json
vendored
Normal file
1
backend/internal/home/testdata/concurrency_release.json
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"credential_id":"cred-1","model":"gpt","release_seq":1}
|
||||
52
backend/internal/home/testdata/credential_in_flight_contract.json
vendored
Normal file
52
backend/internal/home/testdata/credential_in_flight_contract.json
vendored
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"config": {
|
||||
"snapshot-interval": "2s",
|
||||
"stale-after": "10s",
|
||||
"max-part-bytes": 262144,
|
||||
"max-part-count": 64,
|
||||
"max-revision-bytes": 16777216,
|
||||
"max-aggregate-groups": 100000,
|
||||
"max-details": 10000,
|
||||
"max-string-bytes": 256,
|
||||
"staging-retention": "1m"
|
||||
},
|
||||
"part": {
|
||||
"kind": "part",
|
||||
"revision": 7,
|
||||
"observed_at": "2026-07-21T12:00:00Z",
|
||||
"barrier_revision": 11,
|
||||
"part_index": 0,
|
||||
"part_count": 1,
|
||||
"details_truncated": false,
|
||||
"aggregates": [
|
||||
{
|
||||
"credential_id": "cred-a",
|
||||
"model": "gpt-5",
|
||||
"status": "accounted",
|
||||
"count": 2
|
||||
},
|
||||
{
|
||||
"credential_id": "cred-a",
|
||||
"model": "gpt-5",
|
||||
"status": "unaccounted",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"details": [
|
||||
{
|
||||
"request_id": "req-1",
|
||||
"credential_id": "cred-a",
|
||||
"model": "gpt-5",
|
||||
"request_kind": "sse",
|
||||
"started_at": "2026-07-21T11:59:58Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"overflow": {
|
||||
"kind": "overflow",
|
||||
"revision": 8,
|
||||
"observed_at": "2026-07-21T12:00:02Z",
|
||||
"barrier_revision": 12,
|
||||
"aggregate_group_count": 100001
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue