Skip to content

Commit 8c1d916

Browse files
committed
fix: restrict reasoning model check to only "gpt-5" models
1 parent 67c86a0 commit 8c1d916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/codegraph-ai/src/openai_llm_provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl OpenAIProvider {
7272
/// Check if this is a reasoning model
7373
fn is_reasoning_model(&self) -> bool {
7474
let model = self.config.model.to_lowercase();
75-
model.starts_with("gpt-5") || model.starts_with("grok-4")
75+
model.starts_with("gpt-5")
7676
}
7777

7878
/// Send a request to OpenAI Responses API with retry logic

0 commit comments

Comments
 (0)