refactor: Remove duplicate is_reasoning_model calculation in factories.py
This commit is contained in:
parent
d582fb99e9
commit
5cd3415a33
1 changed files with 0 additions and 6 deletions
|
|
@ -138,12 +138,6 @@ class LLMClientFactory:
|
|||
)
|
||||
|
||||
# Only pass reasoning/verbosity parameters for reasoning models (gpt-5 family)
|
||||
is_reasoning_model = (
|
||||
config.model.startswith('gpt-5')
|
||||
or config.model.startswith('o1')
|
||||
or config.model.startswith('o3')
|
||||
)
|
||||
|
||||
if is_reasoning_model:
|
||||
return OpenAIClient(config=llm_config, reasoning='minimal', verbosity='low')
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue