llama-stack-mirror/llama_stack/providers/registry
Matthew Farrellee d07ebce4d9
feat: (re-)enable Databricks inference adapter (#3500)
# What does this PR do?

add/enable the Databricks inference adapter

Databricks inference adapter was broken, closes #3486 

- remove deprecated completion / chat_completion endpoints
- enable dynamic model listing w/o refresh, listing is not async
- use SecretStr instead of str for token
- backward incompatible change: for consistency with databricks docs,
env DATABRICKS_URL -> DATABRICKS_HOST and DATABRICKS_API_TOKEN ->
DATABRICKS_TOKEN
- databricks urls are custom per user/org, add special recorder handling
for databricks urls
- add integration test --setup databricks
- enable chat completions tests
- enable embeddings tests
- disable n > 1 tests
- disable embeddings base64 tests
- disable embeddings dimensions tests

note: reasoning models, e.g. gpt oss, fail because databricks has a
custom, incompatible response format

## Test Plan

ci and 

```
./scripts/integration-tests.sh --stack-config server:ci-tests --setup databricks --subdirs inference --pattern openai
```

note: databricks needs to be manually added to the ci-tests distro for
replay testing
2025-09-23 15:37:23 -04:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
agents.py fix: only load mcp when enabled in tool_group (#2621) 2025-07-04 20:27:05 +05:30
batches.py chore: remove openai dependency from providers (#3398) 2025-09-11 10:19:59 +02:00
datasetio.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
eval.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
files.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
inference.py feat: (re-)enable Databricks inference adapter (#3500) 2025-09-23 15:37:23 -04:00
post_training.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
safety.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
scoring.py chore: remove openai dependency from providers (#3398) 2025-09-11 10:19:59 +02:00
telemetry.py docs: auto generated documentation for providers (#2543) 2025-06-30 15:13:20 +02:00
tool_runtime.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
vector_io.py fix: force milvus-lite installation for inline::milvus (#3488) 2025-09-19 16:12:08 -04:00