feat: support OpenAI reasoning effort configuration for O1/O3 models (#1266)

This commit is contained in:
Salman Mohammed
2025-02-17 18:53:49 -05:00
committed by GitHub
parent 855adfb5c2
commit aa32c4a61d
2 changed files with 123 additions and 4 deletions
+2 -2
View File
@@ -185,8 +185,8 @@ mod tests {
async fn test_truncate_agent_with_openai() -> Result<()> {
run_test_with_config(TestConfig {
provider_type: ProviderType::OpenAi,
model: "gpt-4o-mini",
context_window: 128_000,
model: "o3-mini-low",
context_window: 200_000,
})
.await
}