langchain/libs/partners/anthropic/tests
ccurme ed797e17fb
anthropic[patch]: always return content blocks if citations are generated (#29398)
We currently return string (and therefore no content blocks / citations)
if the response is of the form
```
[
    {"text": "a claim", "citations": [...]},
]
```

There are other cases where we do return citations as-is:
```
[
    {"text": "a claim", "citations": [...]},
    {"text": "some other text"},
    {"text": "another claim", "citations": [...]},
]
```
Here we update to return content blocks including citations in the first
case as well.
2025-01-23 18:47:23 -05:00
..
integration_tests anthropic[patch]: always return content blocks if citations are generated (#29398) 2025-01-23 18:47:23 -05:00
unit_tests anthropic: sdk bump (#28820) 2024-12-19 15:39:21 +00:00
__init__.py