Repository navigation
docs(python-cli): add Amharic quickstart guide and discovery links (#13889) - #13890
Conversation
There was a problem hiding this comment.
All reported issues were addressed across 3 files
You’re at about 95% 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
|
Thanks for this — a carefully built guide. I checked the technical claims against the CLI source at this head, and nearly everything verifies. Verified against source:
One fix needed (this confirms the earlier reviewer's flag): in §4 (ገጽ መከፋፈል), the sentence says the With that one-line scoping fix this looks good from my side — leaving the merge call to the maintainers. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
kodjima33
left a comment
There was a problem hiding this comment.
Thanks — approving, not merging. cubic already flagged that goal list doesn't support --offset despite the guide's blanket pagination claim — please scope that before merge.
57f1fef to
7e19b67
Compare
|
Approved and CI green for a while now — happy to adjust further if needed, otherwise just flagging it's ready. |
kodjima33
left a comment
There was a problem hiding this comment.
Re-verified on current head: shared template's blanket 'list commands support --limit and --offset' claim is still inaccurate for goal list (--limit only, no --offset per omi_cli/commands/goal.py). Docs-correctness gate still fails on this specific claim; approve-only, not merging.
…asedHardware#13889) Rebuilt on current main; the primary API-key example now leads with OMI_API_KEY per review, with the existing shell-history caveat kept alongside the inline --api-key form.
7e19b67 to
fe26350
Compare
Git-on-my-level
left a comment
There was a problem hiding this comment.
Thanks for the continued work here — the guide is carefully built, and the latest push resolved the earlier markdown issue around the --api-key example (it is now properly fenced with a sensible warning against passing keys as cleartext CLI arguments).
One verified accuracy issue remains on the current head (fe263500), and it is the same one flagged earlier in this thread:
sdks/python-cli/examples/quickstart.am.md, Pagination section, still asserts thatlistcommands support--limitand--offset("የlistትእዛዞች--limitእና--offsetይደግፋሉ፦"). That blanket claim does not hold forgoal list:omi_cli/commands/goal.pydefines only--limit(default 10, max 100) and--include-inactive— no--offset. A reader who follows the guide withomi goal list --offset 50will hit Click's unknown-option failure. Scoping the sentence to thememory,conversation, andaction-itemlist commands (all three do define--offset— verified inomi_cli/commands/memory.py,conversation.py, andaction_item.py) resolves it.
Everything else I checked on this head verifies cleanly:
sdks/python-cli/examples/quickstart.am.md— exit-code table (§5) matchesomi_cli/errors.pyexactly (EXIT_OK=0…EXIT_NOT_FOUND=5), including the note that Click parse errors exit2;goal list/goal create --type numeric --target --unit/goal progress <GOAL_ID> <value>examples all matchomi_cli/commands/goal.py.sdks/python-cli/README.md— the localized-guides index entry and the new Hausa link from the rebase render correctly alongside the Amharic link.sdks/python-cli/examples/README.md— the newquickstart.am.mdbullet is correctly placed and titled.
Requesting changes for that one scoping fix. The earlier approvals were on prior heads before the rebase, so this simply re-anchors the same condition on the current head — once the pagination sentence is scoped, this should be ready to go.
by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.
…on/action-item list goal list only defines --limit (see omi_cli/commands/goal.py) — no --offset. The Amharic quickstart's pagination section claimed all list commands support --offset, which sends a reader following the guide with `omi goal list --offset 50` into Click's unknown-option failure. Also re-adds the Sindhi discovery-link entry to examples/README.md, which main gained after this branch was opened and this diff would otherwise have dropped on merge. Addresses the scoping fix requested in review on PR BasedHardware#13890.
Dismissing as stale: the pagination concern in this review — the blanket claim that list commands support --limit and --offset — is resolved on the current head (17e1204). The Pagination section of sdks/python-cli/examples/quickstart.am.md now scopes the claim to the memory, conversation, and action-item list commands (all three verified to define --offset in omi_cli/commands/memory.py, conversation.py, action_item.py) and explicitly notes goal list supports --limit only, matching omi_cli/commands/goal.py.
Git-on-my-level
left a comment
There was a problem hiding this comment.
Thanks for the quick turnaround — the pagination fix on 17e1204 is verified correct. The guide content itself is now in good shape.
Verified on this head:
sdks/python-cli/examples/quickstart.am.md— the Pagination section is now correctly scoped:memory,conversation, andaction-itemlistcommands documented with--limit/--offset(all three do define--offsetinomi_cli/commands/memory.py,conversation.py,action_item.py), with the explicit caveat thatgoal listsupports--limitonly — matchesomi_cli/commands/goal.py(--limitdefault 10/max 100,--include-inactive, no--offset).- Exit-code table (§5) matches
omi_cli/errors.py(EXIT_OK=0…EXIT_NOT_FOUND=5, Click parse errors exit 2);goal create --type numeric --target --unitandgoal progress <GOAL_ID> <value>match source; auth notes (OMI_API_KEYprecedence,auth refreshOAuth-only) were verified in earlier rounds and are unchanged. sdks/python-cli/README.md— the Amharic link line is consistent with the existing localized-guide block format, and the missing trailing newline is fixed.
One merge-blocking issue remains, and it's mechanical, not content: the branch now conflicts with main on both sdks/python-cli/README.md and sdks/python-cli/examples/README.md — the re-sync commit hand-copied link lines from a newer main while the branch's base still predates most of main's recent quickstart additions. Concretely, sdks/python-cli/examples/README.md on this branch links to files that don't exist on the branch: agent_quickstart.zh-CN.md, agent_quickstart.zh-TW.md, conversations_csv.md, quickstart.ar.md, quickstart.vi.md, quickstart.cs.md, quickstart.he.md, quickstart.sd.md, and quickstart.hi.md — and main's newer entries (quickstarts for Afrikaans through Zulu, memories_markdown.md, etc.) are absent. Every one of these targets does exist on current main, so a rebase onto latest main (or git merge main) resolves the conflicts and every dead link in one step, with no content rework needed.
Could you rebase onto current main and push? Once the READMEs stop diverging from main, this should be ready — the guide itself has cleared every accuracy check raised in this thread.
by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.
kodjima33
left a comment
There was a problem hiding this comment.
Amharic quickstart follows the established template; commands (auth login/status/whoami, memory/conversation/action-item/goal list) verified against the real CLI. Translation prose unverifiable, so approve-only per docs-correctness gate.
|
Merged current |
# Conflicts: # sdks/python-cli/README.md
kodjima33
left a comment
There was a problem hiding this comment.
Docs-correctness gate passed (same verified CLI claims as sibling #13906, Amharic guide). Git-on-my-level's CHANGES_REQUESTED here is stale/superseded by kodjima33's later approvals and matches this bot's known pattern of unreliable reviews on quickstart-translation PRs (see memory) — disregarding it. Attempting merge.
# Conflicts: # sdks/python-cli/README.md # sdks/python-cli/examples/README.md
|
@kodjima33 thanks for approving. The merge failed because #13906 (Igbo) landed first and edited the same README lines. I've merged main in, and both READMEs now carry the Igbo and Amharic links side by side. The diff against main is back to |
kodjima33
left a comment
There was a problem hiding this comment.
Amharic quickstart verified against CLI source (34 commands, exit codes, auth semantics); pagination scoping fix from earlier review is already incorporated. Git-on-my-level's outstanding CHANGES_REQUESTED is the known-unreliable bot pattern on quickstart-translation PRs (disregarded per established precedent).
Resolves #13889
What changed and why
Adds an idiomatic Amharic (
am) quickstart guide foromi-cli(sdks/python-cli/examples/quickstart.am.md) and updates discovery links insdks/python-cli/README.mdandsdks/python-cli/examples/README.md. Same structure as the merged es/ja/ru/tr/bg guides; commands, flags and program messages stay in English, only prose is translated.Content covered:
omi-clion PyPI vsomicommand on$PATH.pipx(recommended) and virtual environmentpip.omi auth login, browser OAuth (Google default,--provider apple), developer API key withomi_dev_*prefix,OMI_API_KEYdocumented as applying only when the active profile has no stored key, offlineauth statusvs liveauth whoami,auth refreshqualified as OAuth-only (API-key profiles get "Nothing to refresh", exit 1), andauth logout/unset OMI_API_KEY.goal progress <id> <value>).--jsonplacement rule,--limit/--offsetpagination, clean file redirection.omi_cli/errors.py; row 1 scoped to omi-cli's own validation errors and Click parse errors (unknown flag, missing argument) attributed to exit2.$?/$LASTEXITCODEchecks.omi local status,search-screen, port 47778,OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN,omi local configure).--profile>OMI_PROFILE>default) and~/.omi/config.toml.chmod 700 ~/.omi, session cleanup.Product invariants affected
none
How it was verified
omi …line in the guide (34 commands) was checked mechanically against the CLI installed from this checkout (pip install -e sdks/python-cli): each subcommand path must resolve viaomi <path> --helpand every flag on the line must appear in that help text. 0 problems. The same checker passes the merged guides and fails on an injected unknown flag / unknown command.omi --nope→ exit2(Click usage error);omi_cli/errors.pyconstants 0–5 match the table;omi auth refreshon an API-key profile raisesUsageError("Nothing to refresh")→ exit1(omi_cli/commands/auth.py);OMI_API_KEYis applied only whenprofile.api_keyis unset (omi_cli/main.py,get_profile).git diff --checkclean; docs-only, no runtime change.Tests
No test change: documentation-only addition with no code path to cover.
Failure class (fixes)
Failure-Class: none
Bounty Payout Destination (PayPal):
[email protected]