Skip to content

Commit ee0ea6c

Browse files
committed
Apply same fix to GPT-5.4 OpenAI direct provider
GPT-5.4 has the same /v1/chat/completions tools+reasoning_effort 400 as GPT-5.5 — kept in lockstep. Verified test_tools_all_built_in_models now skips for both gpt_5_4-openai and gpt_5_5-openai. The OpenRouter routes and Pro/Mini/Nano variants were tested and pass, so they're left alone. https://claude.ai/code/session_01WSZjtD8K2X51BBJgaq2c5M
1 parent d476918 commit ee0ea6c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

libs/core/kiln_ai/adapters/ml_model_list.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,10 @@ class KilnModel(BaseModel):
567567
structured_output_mode=StructuredOutputMode.json_schema,
568568
available_thinking_levels=GPT_5_4_OPENAI_THINKING_LEVELS,
569569
default_thinking_level="none",
570+
# OpenAI rejects reasoning_effort + tools on /v1/chat/completions
571+
# for gpt-5.4 direct. Disable function calling until Kiln routes
572+
# these models to /v1/responses. The OpenRouter route is unaffected.
573+
supports_function_calling=False,
570574
suggested_for_evals=True,
571575
suggested_for_data_gen=True,
572576
supports_doc_extraction=True,

0 commit comments

Comments
 (0)