feat: update test message body configuration for Gemini API

main
Yoo1tic 2025-07-28 23:08:01 +08:00
parent e5821f5b4c
commit 92c16fdc3d
1 changed files with 12 additions and 7 deletions

View File

@ -162,15 +162,20 @@ static DEFAULT_CONFIG: LazyLock<KeyCheckerConfig> = LazyLock::new(|| KeyCheckerC
// LazyLock for the test message body used in API key validation
pub static TEST_MESSAGE_BODY: LazyLock<Value> = LazyLock::new(|| {
serde_json::json!({
"contents": [
"contents": [
{
"parts": [
{
"parts": [
{
"text": "Hi"
}
]
"text": "Hi"
}
]
]
}
],
"generationConfig": {
"thinkingConfig": {
"thinkingBudget": 0
}
}
})
});