Merge pull request #14077 from TomeHirata/codex/add-support-for-anthropic-citation-api

Add support for anthropic citation api in Databricks
This commit is contained in:
Krish Dholakia
2025-09-04 20:46:11 -07:00
committed by GitHub
4 changed files with 146 additions and 9 deletions
@@ -282,6 +282,11 @@ ModelResponse(
)
```
### Citations
Anthropic models served through Databricks can return citation metadata. LiteLLM
exposes these via `response.choices[0].message.provider_specific_fields["citations"]`.
### Pass `thinking` to Anthropic models
You can also pass the `thinking` parameter to Anthropic models.