Update sample configs for OpenAI (gpt-5) to specify max_completion_tokens, not max_response_tokens

Fixup for b43f61f5ff
This commit is contained in:
Slavi Pantaleev
2025-09-08 10:33:31 +03:00
parent ef0f1671da
commit 941bf7ca42
2 changed files with 6 additions and 6 deletions

View File

@@ -72,9 +72,9 @@ impl Default for TextGenerationConfig {
model_id: default_text_model_id(),
prompt: Some(default_prompt().to_owned()),
temperature: super::super::default_temperature(),
max_response_tokens: Some(16_384),
max_completion_tokens: None,
max_context_tokens: 128_000,
max_response_tokens: None,
max_completion_tokens: Some(128_000),
max_context_tokens: 400_000,
}
}
}