Commit ff0eca7
committed
feat(databricks): update model capability flags from live API probes
- Correct attachment flags: gpt-oss-120b, gpt-oss-20b, qwen3-next-80b set to false
(gateway returns "Image input is not supported for this endpoint")
- Add pdf to modalities.input for all Gemini models and Codex models
(confirmed via inlineData / Responses API input_file probes)
- Set temperature=false for all gpt-5* models (policy rule):
base variants return HTTP 400 "Only the default (1) value is supported";
all gpt-5* unified to false for catalog consistency
- Fix gpt-5-nano tool_call: true (false negative - now uses tool_choice:"required")
- Add reasoning=true for gpt-5-nano (reasoning_tokens confirmed in usage)
- Add reasoning=true for gemma-3-12b (<think> blocks confirmed via system prompt)
- Add probe script: packages/core/script/probe-databricks-capabilities.ts
Tests tool-use, reasoning, image, PDF, and temperature across all 4 API surfaces
(mlflow/v1 chat, Anthropic, Gemini, OpenAI Responses). Read-only diagnostic tool.1 parent 3f1ca5e commit ff0eca7
File tree
25 files changed
+1411
-36
lines changed- packages/core/script
- providers/databricks/models
25 files changed
+1411
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments