Repository navigation
fix: Add Claude Sonnet 5.5 and GPT 6.1 Sol DeepNews models - #111
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by @wagnercosta
🔴 Review tier: HIGH — human review required
asknewsrelease to PyPI.What
asknews_sdk/api/chat.py::DeepNewsModel: addclaude-sonnet-5-5andgpt-6.1-sol.asknews_sdk/dto/alert.py::DeepNewsModel(alert source/report params): addclaude-sonnet-5-5,gpt-6.1-solandclaude-opus-5-5.asknews_sdk/dto/alert.py::AlertReportModel: fix a missing comma that mergedgpt-5.6-terraandmeta-llama/Meta-Llama-3.1-405B-Instructinto one invalid ID. Both are now accepted, as the API schema lists them.search_news()versusget_deep_news()(requested by @freqai), with a mocked test that runs the example.No default changed. No existing model ID or method removed.
What was dropped from this PR
Commit
d4477ac("Sync additive SDK contracts with production 0.32.3") is undone bye15f313. It added things nobody asked for:gpt-6-astrain the alert contracts.distribution.get_top_n_articles_for_domains()method (sync and async) and its DTOs.Any of these can come back in its own PR if wanted.
How tested
coverage run -m pytest: 128 passed (Python 3.13, frozen lockfile).ruff check asknews_sdk: passed.Merge
Squash-merge, so the release notes carry one
fix:entry (this PR's title) instead of the three branch commits.