fix: various fixes to make gpt-5 work better [LET-4138] (#4344)

* fix: patch gpt-5 compat

* feat: add verbosity level dropdown selector to llm config panel in ade

* fix: patch duplicated logic

* fix: make default verbosity None, just stage just publish

* fix: missing files
This commit is contained in:
Charles Packer
2025-09-02 10:30:25 -07:00
committed by GitHub
parent 9b315e9f54
commit a696d9e3d5
2 changed files with 13 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ def is_openai_reasoning_model(model: str) -> bool:
"""Utility function to check if the model is a 'reasoner'"""
# NOTE: needs to be updated with new model releases
is_reasoning = model.startswith("o1") or model.startswith("o3") or model.startswith("o4")
is_reasoning = model.startswith("o1") or model.startswith("o3") or model.startswith("o4") or model.startswith("gpt-5")
return is_reasoning