Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
0400fcdc
Commit
0400fcdc
authored
Jan 05, 2026
by
song
Browse files
fix: 更新 API 合同测试,添加 image_count 和 image_size 字段
parent
5b1907fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/server/api_contract_test.go
View file @
0400fcdc
...
@@ -241,6 +241,8 @@ func TestAPIContracts(t *testing.T) {
...
@@ -241,6 +241,8 @@ func TestAPIContracts(t *testing.T) {
"stream": true,
"stream": true,
"duration_ms": 100,
"duration_ms": 100,
"first_token_ms": 50,
"first_token_ms": 50,
"image_count": 0,
"image_size": null,
"created_at": "2025-01-02T03:04:05Z"
"created_at": "2025-01-02T03:04:05Z"
}
}
],
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment