Repository navigation
Conversation
There was a problem hiding this comment.
3 issues found across 3 files
Confidence score: 3/5
- In
sdks/python-cli/examples/quickstart.mr.md, describingomi auth logoutas fully logging users out could leave API keys active through the dashboard orOMI_API_KEY, creating a credential-exposure risk — document those separate cleanup steps. - The exit-code table in
sdks/python-cli/examples/quickstart.mr.mdmisclassifies unknown flags and missing arguments as code 1, while Click returns code 2; distinguish parser errors or normalize them inmain.pyto prevent incorrect scripting and troubleshooting. - The API-key profile guidance in
sdks/python-cli/examples/quickstart.mr.mdimpliesomi auth statusshows a validity period even though that applies only to OAuth profiles — clarify the limitation to avoid misleading status expectations.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="sdks/python-cli/examples/quickstart.mr.md">
<violation number="1" location="sdks/python-cli/examples/quickstart.mr.md:73">
P2: For API-key profiles, `omi auth status` does not display a validity period. Say that expiry is shown only for OAuth profiles so users do not expect an API-key expiration field.</violation>
<violation number="2" location="sdks/python-cli/examples/quickstart.mr.md:81">
P2: `omi auth logout` only clears the local profile; it does not revoke an API key or unset `OMI_API_KEY`. Tell users to revoke keys in the dashboard and remove environment variables separately.</violation>
<violation number="3" location="sdks/python-cli/examples/quickstart.mr.md:178">
P2: Unknown flags and missing arguments exit with Click's code 2, not code 1. Distinguish parser errors from custom validation errors in this exit-code table, or normalize them in `main.py`.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| ``` | ||
|
|
||
| ### प्रमाणीकरण स्थिती तपासणे | ||
| * `omi auth status`: स्थानिक क्रेडेंशियल्स, मास्क केलेले टोकन आणि वैधता कालावधी दाखवते (ऑफलाइन कार्य करते). |
There was a problem hiding this comment.
P2: For API-key profiles, omi auth status does not display a validity period. Say that expiry is shown only for OAuth profiles so users do not expect an API-key expiration field.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At sdks/python-cli/examples/quickstart.mr.md, line 73:
<comment>For API-key profiles, `omi auth status` does not display a validity period. Say that expiry is shown only for OAuth profiles so users do not expect an API-key expiration field.</comment>
<file context>
@@ -0,0 +1,238 @@
+```
+
+### प्रमाणीकरण स्थिती तपासणे
+* `omi auth status`: स्थानिक क्रेडेंशियल्स, मास्क केलेले टोकन आणि वैधता कालावधी दाखवते (ऑफलाइन कार्य करते).
+* `omi auth whoami`: थेट Omi सर्व्हरला विनंती पाठवून क्रेडेंशियल्स सक्रिय असल्याची पडताळणी करते (इंटरनेट आवश्यक).
+
</file context>
| * `omi auth status`: स्थानिक क्रेडेंशियल्स, मास्क केलेले टोकन आणि वैधता कालावधी दाखवते (ऑफलाइन कार्य करते). | |
| * `omi auth status`: स्थानिक क्रेडेंशियल्स आणि मास्क केलेले टोकन दाखवते; OAuth प्रोफाईलसाठी ID टोकनची समाप्ती वेळ दाखवते (ऑफलाइन कार्य करते). |
| | `1` | Usage Error | चुकीचे फ्लॅग्स किंवा अपूर्ण पॅरामीटर्स | | ||
| | `2` | Auth Error | लॉगिन केलेले नाही, अवैध API की किंवा टोकन संपले | |
There was a problem hiding this comment.
P2: Unknown flags and missing arguments exit with Click's code 2, not code 1. Distinguish parser errors from custom validation errors in this exit-code table, or normalize them in main.py.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At sdks/python-cli/examples/quickstart.mr.md, line 178:
<comment>Unknown flags and missing arguments exit with Click's code 2, not code 1. Distinguish parser errors from custom validation errors in this exit-code table, or normalize them in `main.py`.</comment>
<file context>
@@ -0,0 +1,238 @@
+| कोड | प्रकार | स्पष्टीकरण |
+| :---: | :--- | :--- |
+| `0` | Success | कमांड यशस्वीरीत्या पूर्ण झाली |
+| `1` | Usage Error | चुकीचे फ्लॅग्स किंवा अपूर्ण पॅरामीटर्स |
+| `2` | Auth Error | लॉगिन केलेले नाही, अवैध API की किंवा टोकन संपले |
+| `3` | Server Error | सर्व्हर त्रुटी (5xx), नेटवर्क समस्या किंवा टाईमआऊट |
</file context>
| | `1` | Usage Error | चुकीचे फ्लॅग्स किंवा अपूर्ण पॅरामीटर्स | | |
| | `2` | Auth Error | लॉगिन केलेले नाही, अवैध API की किंवा टोकन संपले | | |
| | `1` | Validation Error | कस्टम पडताळणी त्रुटी | | |
| | `2` | Auth / CLI Parse Error | प्रमाणीकरण त्रुटी किंवा चुकीचे फ्लॅग्स/अपूर्ण पॅरामीटर्स | |
| omi auth whoami | ||
| ``` | ||
|
|
||
| क्रेडेंशियल्स हटवण्यासाठी लॉगआउट करा: |
There was a problem hiding this comment.
P2: omi auth logout only clears the local profile; it does not revoke an API key or unset OMI_API_KEY. Tell users to revoke keys in the dashboard and remove environment variables separately.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At sdks/python-cli/examples/quickstart.mr.md, line 81:
<comment>`omi auth logout` only clears the local profile; it does not revoke an API key or unset `OMI_API_KEY`. Tell users to revoke keys in the dashboard and remove environment variables separately.</comment>
<file context>
@@ -0,0 +1,238 @@
+omi auth whoami
+```
+
+क्रेडेंशियल्स हटवण्यासाठी लॉगआउट करा:
+```bash
+omi auth logout
</file context>
|
Thanks @Aj2280 — well-structured translation with clean discovery integration. Appreciated, and useful for Marathi-speaking developers. धन्यवाद! Per-file notes (all three changed files checked against the CLI source on main):
Since this addresses #13788's bounty proposal: leaving the merge call, translation-quality sign-off, and bounty adjudication to a human maintainer; the three fixes above are small and localized. 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.
Docs: adds Marathi quickstart guide (new standalone file) + discovery links. Commands/flags verified against sdks/python-cli source — match. Not merging: PR is DIRTY (merge conflict on the shared README.md localized-guides line), leaving approved per policy (never rebase a PR branch).
|
Follow-up on my earlier feedback, after checking 1. Exit-code table (§५) — correcting my earlier note. The Marathi row ( 2. Remaining nits — valid but small and non-blocking:
Neither blocks merge, especially with the maintainer approval already on this head. The README.md conflict still needs resolving before merge. 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.
Re-evaluated under current policy (backlog drain).
|
Thanks for the contribution! We're currently not taking community recipe/export examples in this area — the pattern is already straightforward to implement from the docs, and each merged example adds long-term maintenance surface we're trimming. That's not a judgment on the work. If you believe this fills a real gap (a target no existing example or open PR covers, with the code verified against the actual CLI and API), comment here and a maintainer will take a look. Issues with maintainer-filed bounties remain open — those are unaffected. Thanks again for contributing! |
|
Hey @Aj2280 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Summary
Adds a comprehensive Marathi (मराठी) quickstart guide for
omi-cliand registers discovery links insdks/python-cli/README.mdandsdks/python-cli/examples/README.md, addressing #13788.Changes
sdks/python-cli/examples/quickstart.mr.md: New beginner-friendly guide in Marathi covering:omi-cli) and executable command (omi).pipxor standard virtual environment.omi_dev_*/OMI_API_KEY).auth statusoffline check vsauth whoamilive server roundtrip).memory,conversation,action-item,goal).--jsonplacement rule (omi --json memory list), pagination with--offset, and file redirect caveats.omi_cli/errors.py.omi local configure,omi local status).--profile) for multi-account or staging environments.sdks/python-cli/README.md: Added discovery link to Marathi quickstart.sdks/python-cli/examples/README.md: Added discovery link toquickstart.mr.md.Fixes #13788
Product Invariants Affected
none
Verification
omi --versionreports0.3.0omi --helpexits 0omi auth login|status|whoami|logout --helpexit 0omi memory|conversation|action-item|goal list --helpexit 0omi --json memory list --helpexits 0Bounty
Proposed US$25 documentation bounty per the contribution guide — see #13788.