Repository navigation
feat(ENG-46): add monitor.meta_ai() for Meta AI (0.7.0) - #15
Open
rbatista191 wants to merge 1 commit into
Open
rbatista191 wants to merge 1 commit into
rbatista191 wants to merge 1 commit into
Conversation
Add Meta AI (POST /v1/monitor/meta-ai). The endpoint is in cloro-dev/backend#600 and cloro-dev/browsers#2258. It is not live yet. - monitor.meta_ai(): prompt, country, an optional US state, and include (markdown, html). - The META_AI task type for client.async_tasks. - README, CHANGELOG and package description. - Version 0.6.1 to 0.7.0. Claude-Session: https://claude.ai/code/session_01Vi9vyc4nPaECMgzccWiEMb
This branch has not been deployed
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.
Warning
Do not merge before cloro-dev/backend#600 deploys. A merge that changes
_version.pypublishes 0.7.0 to PyPI, andmonitor.meta_ai()gets a 404 until the endpoint is live.Adds Meta AI (
POST /v1/monitor/meta-ai, ENG-46). The endpoint is in cloro-dev/backend#600 and cloro-dev/browsers#2258.Changes
monitor.meta_ai(prompt, country, *, state=None, include=None). This is the same shape asbing_aimode().includeacceptsmarkdownandhtml.text,sourcesandcitationPills.META_AIin thetask_typedocstring ofasync_tasks.create().state, +2 for sync, CN and RU not available, "best X" prompts that get no answer), task types,countries(model="meta_ai"). CHANGELOG 0.7.0. Package description.Checks
ruff check .passes.statedropped,META_AItask,countries(model="meta_ai")).python -m buildbuilds the sdist and the wheel.Checks not run
httpx.MockTransport.Merge order
https://claude.ai/code/session_01Vi9vyc4nPaECMgzccWiEMb