refactor: removed subclass override when the base class should be resolving the model name

refactor: always disable "stream"
This commit is contained in:
Fahad
2025-10-04 10:35:32 +04:00
parent d184024820
commit 06d7701cc3
17 changed files with 210 additions and 260 deletions

View File

@@ -38,12 +38,12 @@
"content-type": "application/json; charset=UTF-8",
"vary": "Origin, X-Origin, Referer",
"content-encoding": "gzip",
"date": "Fri, 03 Oct 2025 18:58:34 GMT",
"date": "Sat, 04 Oct 2025 06:23:34 GMT",
"server": "scaffolding on HTTPServer2",
"x-xss-protection": "0",
"x-frame-options": "SAMEORIGIN",
"x-content-type-options": "nosniff",
"server-timing": "gfet4t7; dur=21591",
"server-timing": "gfet4t7; dur=1401",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
"transfer-encoding": "chunked"
},
@@ -66,17 +66,24 @@
"usageMetadata": {
"promptTokenCount": 1085,
"candidatesTokenCount": 1,
"totalTokenCount": 3091,
"totalTokenCount": 1154,
"cachedContentTokenCount": 994,
"promptTokensDetails": [
{
"modality": "TEXT",
"tokenCount": 1085
}
],
"thoughtsTokenCount": 2005
"cacheTokensDetails": [
{
"modality": "TEXT",
"tokenCount": 994
}
],
"thoughtsTokenCount": 68
},
"modelVersion": "gemini-2.5-flash",
"responseId": "2hzgaPuTEsSlxN8PrIuRUA"
"responseId": "Zr3gaPiqNLXtkdUP7t7J0QU"
}
],
"byte_segments": [],
@@ -87,12 +94,12 @@
"content-type": "application/json; charset=UTF-8",
"vary": "Origin, X-Origin, Referer",
"content-encoding": "gzip",
"date": "Fri, 03 Oct 2025 18:58:34 GMT",
"date": "Sat, 04 Oct 2025 06:23:34 GMT",
"server": "scaffolding on HTTPServer2",
"x-xss-protection": "0",
"x-frame-options": "SAMEORIGIN",
"x-content-type-options": "nosniff",
"server-timing": "gfet4t7; dur=21591",
"server-timing": "gfet4t7; dur=1401",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
"transfer-encoding": "chunked"
}
@@ -112,8 +119,15 @@
}
],
"model_version": "gemini-2.5-flash",
"response_id": "2hzgaPuTEsSlxN8PrIuRUA",
"response_id": "Zr3gaPiqNLXtkdUP7t7J0QU",
"usage_metadata": {
"cache_tokens_details": [
{
"modality": "TEXT",
"token_count": 994
}
],
"cached_content_token_count": 994,
"candidates_token_count": 1,
"prompt_token_count": 1085,
"prompt_tokens_details": [
@@ -122,8 +136,8 @@
"token_count": 1085
}
],
"thoughts_token_count": 2005,
"total_token_count": 3091
"thoughts_token_count": 68,
"total_token_count": 1154
}
}
]

File diff suppressed because one or more lines are too long