Messages.parse (and AsyncMessages.parse) don't take cache_control?
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start at the Messages.parse and AsyncMessages.parse entry points, then compare their parameters with Messages.create and Messages.stream. Verify the intended cache_control behavior and update the relevant SDK tests or documentation so the supported interface and its expected behavior are clear.
Written by the indexing model from the issue text.
Description
Messages.parse generally follows the API of Messages.create (and .stream), but is lacking the cache_control parameter. I don't see any obvious reason why that would be so perhaps it was just missed. But in case it is intentional I'd like to understand why.
- Dominant language
- Python
- Stars
- 3.9k
- Forks
- 857
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/anthropic-sdk-python
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
anthropics/anthropic-sdk-python#1915 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
anthropics/anthropic-sdk-python#1868 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/anthropic-sdk-python#1676 · 1 comment ·
-
[Bug] append_messages() inside tool runner loop causes infinite loop (advanced usage docs example) Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
anthropics/anthropic-sdk-python#1536 · 4 comments ·
-
sdk
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
anthropics/anthropic-sdk-python#1290 · 2 comments ·
All issues in anthropics/anthropic-sdk-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100