Repository navigation
docs(python-cli): add Maithili (mai) and Assamese (as) quickstart guides (#13838, #13836) - #13845
Conversation
There was a problem hiding this comment.
All reported issues were addressed across 4 files
You’re at about 92% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Git-on-my-level
left a comment
There was a problem hiding this comment.
Thank you for this contribution — the structure and coverage of both guides is strong, and this is the most complete candidate for #13838 / #13836. kodjima33 has already approved the direction here; I'm requesting changes only for concrete accuracy issues I verified against the CLI source, plus the rebase that is already required.
Verified issues (present in both quickstart.mai.md and quickstart.as.md):
-
Exit-code table does not match omi_cli/errors.py (section 5, around lines 193-207). The real contract is: 1 = EXIT_USAGE, 2 = EXIT_AUTH, 3 = EXIT_SERVER (connection/server errors), 4 = EXIT_RATE_LIMITED (HTTP 429), 5 = EXIT_NOT_FOUND. The guides instead document invented names (EXIT_GENERIC_ERROR, EXIT_USAGE_ERROR, EXIT_AUTH_ERROR, EXIT_NETWORK_ERROR) with shifted meanings, so scripts following the table would misclassify every failure. The bash example compounds this: it handles 3) as an auth failure (real meaning: server error, auth is 2) and 4) as a network failure (real meaning: rate limiting).
-
Plural command verbs do not exist. omi_cli/main.py registers
action-itemandgoal(singular), and examples/shell_examples.sh usesomi action-item list/omi goal list. The guides'omi action-items ...(e.g. line 170) andomi goals ...commands would exit with an unknown-command usage error, so those sections teach broken commands. -
Memory jq projection uses a non-existent field. The Memory model in omi_cli/models.py has
content(notitle), so the example at line 163,{id: .id, title: .title, created_at: .created_at}, returns null for title on every row. Use.content(as shell_examples.sh does with{id, content}).
Rebase required (already noted in the approval): both sdks/python-cli/README.md and sdks/python-cli/examples/README.md now conflict with main — the localized-guides line gained a Mongolian entry (plus separate Sanskrit/Konkani lines) and examples/README.md gained Danish and Mongolian entries after sibling PRs merged. GitHub reports this branch as CONFLICTING. The rebase is a good moment to fold in the three fixes above and to re-check the linked guide lists against the then-current main.
sdks/python-cli/README.md and sdks/python-cli/examples/README.md link additions themselves are correct in form (relative paths, native-language labels) — they only need the conflict resolution. With the exit-code table, verbs, and jq field corrected during the rebase, this should be in good shape for merge. Happy to re-review after the update.
by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.
19d3323 to
6707826
Compare
|
@Git-on-my-level @kodjima33 Thank you for the review and guidance! All points have been addressed in commit 6707826:
The branch is clean, mergeable, and ready for final review! |
kodjima33
left a comment
There was a problem hiding this comment.
Re-verified on current head: the exit-code naming/mapping and 'action-items'/'goals' plural-verb errors flagged in an earlier CHANGES_REQUESTED review have been fixed — current diff uses correct action-item/goal singular commands and EXIT_OK/EXIT_USAGE/EXIT_AUTH/EXIT_SERVER/EXIT_RATE_LIMITED/EXIT_NOT_FOUND matching omi_cli/errors.py exactly, and the memory jq example correctly uses .content (not the previously-flagged nonexistent .title). Most complete candidate for #13838/#13836.
6707826 to
c865251
Compare
|
/claim #13838 PayPal: [email protected] |
Summary
Resolves #13838 and #13836
Adds native, comprehensive quickstart guides for
omi-cliin Maithili (mai/ मैथिली) and Assamese (as/ অসমীয়া), and registers discovery cross-links in the package documentation.Scope of Changes
sdks/python-cli/examples/quickstart.mai.md(Maithili)sdks/python-cli/examples/quickstart.as.md(Assamese)omi-cli) and CLI executable (omi).OMI_API_KEYprecedence,auth statusvsauth whoami, logout).--json, pagination with--limit/--offset, andjqpipelines.omi_cli/errors.py.OMI_LOCAL_API_URL) and multi-profile handling.sdks/python-cli/README.md.quickstart.mai.mdandquickstart.as.mdtosdks/python-cli/examples/README.md.Verification
git diff --check(zero whitespace/formatting errors).Bounty Payout Destination: PayPal
[email protected]