Files
langchain/libs/partners
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
..
2024-11-01 20:35:55 +00:00
2025-01-21 09:16:08 -05:00
2024-10-18 12:35:12 -07:00
2024-11-01 20:35:55 +00:00
2025-01-10 11:47:27 -05:00